summary.mscp {mscp}R Documentation

summary.mscp

Description

Summary method for class 'mscp'

Usage

## S3 method for class 'mscp'
summary(object, ...)

Arguments

object

object of class mscp

...

additional arguments

Value

No return value, called for side effects

Author(s)

Tijana Levajkovic and Michael Messer

References

Multiscale change point detection via gradual bandwidth adjustment in moving sum processes (2021+), Tijana Levajkovic and Michael Messer

See Also

mscp, plot.mscp

Examples

set.seed(1)
Tt <- 1000
cp <- c(250,500,600,650,750)
mu <- c(2,3,6,9,12,15)
sd <- c(1,1,2,1,2,1)
m  <- rep(mu,diff(c(0,cp,Tt))) 
s  <- rep(sd,diff(c(0,cp,Tt)))    
x  <- rnorm(Tt,m,s)
result <- mscp(x,kappa=4.77) # kappa set manually
# result <- mscp(x) # kappa derived in simulations
summary(result)
plot(result)
 

[Package mscp version 1.0 Index]