Chapter 11 Covariates with Missing Values

A script with all the R code in the chapter can be downloaded here. The Rmd for this chapter can be downloaded here.

Data and packages

This chapter will use a SNOTEL dataset. These are data on snow water equivalency at locations throughtout the state of Washington. The data are in the atsalibrary package.

data(snotel, package = "atsalibrary")

The main packages used in this chapter are MARSS and forecast.

library(MARSS)
library(forecast)
library(ggplot2)
library(ggmap)
library(broom)