inst/userguide/figures/STS--Cs711_multivariate.R

###################################################
### code chunk number 39: Cs711_multivariate
###################################################
statesmc <- tsSmooth(fitmc)
statesmc$name <- "multiple w covariate"
df <- rbind(true, statesu, statesm, statesmc)

ggplot(df, aes(x = t, y = .estimate, col = name)) +
  geom_line() +
  facet_wrap(~.rownames, scale = "free_y")
nwfsc-timeseries/MARSS documentation built on June 3, 2023, 1:32 p.m.