Open eeholmes opened 2 years ago
Currently
d <- rep(1:2, each=10) MARSS(dat, model=list(d=d))
This will treat d as numeric (as it is).
But if d is character or a factor,
d <- as.factor(rep(1:2, each=10)) MARSS(dat, model=list(d=d))
MARSS will not construct the factor matrix for you.
Currently
This will treat d as numeric (as it is).
But if d is character or a factor,
MARSS will not construct the factor matrix for you.