Learn R Programming

mosum (version 1.2.7)

print.mosum.cpts: Change points estimated by MOSUM procedure

Description

Print method for objects of class mosum.cpts

Usage

# S3 method for mosum.cpts
print(x, ...)

Arguments

x

a mosum.cpts object

...

not in use

Examples

Run this code
x <- testData(lengths = rep(100, 3), means = c(0, 5, -2), sds = rep(1, 3), seed = 1234)$x
m <- mosum(x, G = 40)
print(m)

Run the code above in your browser using DataLab