Download Package `MARSS`
Transcript
40 MARSSmcinit free$B=array(NA,dim=c(m,m)); fixed$B=array(0,dim=c(m,m)); diag(fixed$B)=1 free$x0=array(seq(1,m),dim=c(m,1)); fixed$x0 = array(NA,dim=c(m,1)); free$V0=array(NA,dim=c(m,m)); fixed$V0 = array(0,dim=c(m,m)) m1 <- marssm(fixed=fixed, free=free) is.marssm(m1) dat = t(harborSeal) dat = dat[2:nrow(dat),] #allowed is a hidden variable which specifies what model structures are allowed wrapperObj = popWrap(dat, MARSS:::allowed$kem, method="kem") modelObj = as.marssm(wrapperObj) marssm-class Class "marssm" Description marssm objects describe the multivariate autoregressive state space models used in the package MARSS-package. Methods print signature(x = "marssm"): ... summary signature(object = "marssm"): ... Author(s) Kellie Wills, NOAA, Seattle, USA. kellie(dot)wills(at)noaa(dot)gov MARSSmcinit Monte Carlo Initialization Description Performs a Monte Carlo search for optimal initial conditions iterative maximization algorithms (MARSSkem and MARSSoptim). This is a utility function in the MARSS-package. Usage MARSSmcinit(MLEobj) Arguments MLEobj An object of class marssMLE.