data(bssbsb)
bssbsb <- bssbsb[,1:50]
xoloc <- find.breaks(bssbsb, chr=1)
L <- attr(xoloc, "L")
# get MLE (limiting maximum iterations to 10, just for speed in this example)
if (FALSE) mle <- fitStahl(xoloc, L, nu=c(9, 12), control=list(maxit=10))
mle <- fitStahl(xoloc, L, nu=c(9, 12), control=list(maxit=2))
Run the code above in your browser using DataLab