residuals.bcp {bcp}R Documentation

Extract model residuals

Description

residuals method for class bcp.

Usage

 residuals.bcp(object, ...)

Arguments

object the result of a call to bcp().
... additional arguments.

Value

Residuals extracted from the bcp object.

Author(s)

Chandra Erdman and John W. Emerson

See Also

bcp and plot.bcp.

Examples


  ##### A random sample from a few normal distributions #####
  testdata <- c(rnorm(50), rnorm(50, 5, 1), rnorm(50))
  bcp.0 <- bcp(testdata)
  plot.bcp(bcp.0)
  residuals.bcp(bcp.0)
  

[Package bcp version 2.1.1 Index]