Learn R Programming

bcp (version 2.1.2)

fitted.bcp: Extract model fitted values

Description

fitted method for class bcp.

Usage

fitted.bcp(object, ...)

Arguments

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

Value

  • Fitted values extracted from the bcp object.

See Also

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

Examples

Run this code
##### 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)
  fitted.bcp(bcp.0)

Run the code above in your browser using DataLab