R/spm_split.R
spm_split.Rd
Split data before fitting spm.
spm_split(sspm_object, ...) # S4 method for sspm spm_split(sspm_object, ...)
[sspm] An object of class sspm.
[expression] Expression to evaluate to split data.
The updated sspm object.
if (FALSE) { sspm_model <- sspm_model %>% spm_split(year_f %in% c(1990:2017)) }