Description Usage Arguments Value
function used to train the gAR models
1 | fit_ajs_model(l, j_lags, s_mat_train, aic = F, classes, static_train = NA)
|
l |
the group which is currently being used to fit gAR models |
j_lags |
the lag used in the gAR |
s_mat_train |
estimated latent state data used to fit the gAR model |
aic |
T/F to return the AIC of the model |
classes |
vector of the classes |
static_train |
dataframe containing the information of covariates which one would like to include in the gAR model |
Fitted gAR model
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.