bcp (version 4.0.3)

residuals.bcp: Extract model residuals

Description

residuals method for class bcp.

Usage

# S3 method for bcp
residuals(object, ...)

Arguments

object

the result of a call to bcp().

...

(optional) additional arguments, ignored.

Value

Residuals extracted from the bcp object.

See Also

bcp and plot.bcp

Examples

Run this code
# NOT RUN {
##### 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)

# }

Run the code above in your browser using DataCamp Workspace