# NOT RUN {
set.seed(1)
simul = simulprofiles(M=5,n=100,k.mean=2,SNR=5,lambda=1)
CGHd = new("CGHdata",Y=simul$Y)
CGHo = new("CGHoptions")
select(CGHo) = "mBIC"
CGHr = multiseg(CGHd,CGHo)
select(CGHo) = "none"
CGHr = multiseg(CGHd,CGHo)
# }
Run the code above in your browser using DataLab