Run the timeseries model from ldats
on LDA models and time-series data.
run_TS(data, ldamodels, formulas = c("intercept", "time"), nchangepoints = 0:6, weighting = "proportional", control = list())
data | The dataset, in the |
---|---|
ldamodels | The LDA model(s) produced by running |
formulas | Defaults to NULL. If nothing supplied, ~timename. If supplied, uses that. |
nchangepoints | Vector of integers: which numbers of changepoints to try. |
weighting | Weight samples equally or proportional to number of individuals captured. Defaults to |
control | A |
the changepoint model(s) resulting from running LDATS::TS_on_LDA
.