Learn R Programming

breakfast (version 2.5)

print.cptmodel: Change-points estimated by solution path generation + model selection methods

Description

Print method for objects of class cptmodel

Usage

# S3 method for cptmodel
print(x, ...)

Arguments

x

a cptmodel object

...

current not in use

Examples

Run this code
f <- rep(rep(c(0, 1), each = 50), 5)
x <- f + rnorm(length(f)) * .5
print(model.ic(sol.idetect(x)))

Run the code above in your browser using DataLab