fitted.bcp {bcp}R Documentation

Extract model fitted values

Description

fitted method for class bcp.

Usage

## S3 method for class 'bcp'
fitted(object, ...)

Arguments

object

the result of a call to bcp().

...

(optional) additional arguments, ignored.

Value

Fitted values extracted from the bcp object.

Author(s)

Xiaofei Wang, Chandra Erdman and John W. Emerson

See Also

plot.bcp, summary.bcp, and print.bcp for summaries of the results.

Examples

##### 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)


[Package bcp version 4.0.3 Index]