#do a parametric bootstrap.
#Same length as original data and same location of missing data
d = harborSeal[,c(2,11)]
dat = t(d)
MLEobj = MARSS(dat)
sim.obj = MARSSsimulate(MLEobj, tSteps=dim(d)[1], nsim=10)
Run the code above in your browser using DataLab