Learn R Programming

mscp (version 1.0)

summary.mscp: summary.mscp

Description

Summary method for class 'mscp'

Usage

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

Arguments

object

object of class mscp

...

additional arguments

Value

No return value, called for side effects

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

Run this code
# NOT RUN {
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)
 
# }

Run the code above in your browser using DataLab