fit_ajs_model: function used to train the gAR models

Description Usage Arguments Value

View source: R/functions.R

Description

function used to train the gAR models

Usage

1
fit_ajs_model(l, j_lags, s_mat_train, aic = F, classes, static_train = NA)

Arguments

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

Value

Fitted gAR model


acweisha/gFPCAClassif documentation built on Dec. 18, 2021, 10:23 p.m.