residuals.bcp: Extract model residuals

Description Usage Arguments Value Author(s) See Also Examples

Description

residuals method for class bcp.

Usage

1
2
## S3 method for class 'bcp'
residuals(object, ...)

Arguments

object

the result of a call to bcp().

...

(optional) additional arguments, ignored.

Value

Residuals extracted from the bcp object.

Author(s)

Xiaofei Wang, Chandra Erdman, and John W. Emerson

See Also

bcp and plot.bcp

Examples

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

bcp documentation built on May 2, 2019, 9:16 a.m.