MARSS icon indicating copy to clipboard operation
MARSS copied to clipboard

Z=0 and R=0, MARSSkfss problem

Open eeholmes opened this issue 5 years ago • 2 comments

#This fits
test = MARSS(cumsum(rnorm(100)), model=list(Z=matrix(0), A="zero", x0="zero"))

#This doesn't
test = MARSS(cumsum(rnorm(100)), model=list(Z=matrix(0), A="zero", x0="zero", R="zero"))

eeholmes avatar Jan 31 '20 00:01 eeholmes

This works

dat <- t(harborSealWA)
dat <- dat[2:3, 6:22] # remove the year row
test = MARSS(dat, model=list(Z=diag(0,2), A="zero", x0="zero"))

eeholmes avatar Jan 31 '20 01:01 eeholmes

Not so sure this is really a bug.

eeholmes avatar Jan 31 '20 04:01 eeholmes