gmFPCA_predict: Function for predicting the groups for new gmFPCA Classifier

Description Usage Arguments Value

View source: R/wrapping_functions.R

Description

Function for predicting the groups for new gmFPCA Classifier

Usage

1
2
3
4
5
6
gmFPCA_predict(
  gmFPCA.model,
  X_dat_m_new,
  covariates_new = NA,
  gar_covariates_new = NA
)

Arguments

gmFPCA.model

Trained gmFPCA

X_dat_m_new

N_new x m matrix of binary data

covariates_new

N_new x Q data frame of covariates

gar_covariates_new

N_new X Q_g data frame of covariates for gAR model

Value

predicted group values for the N_new users


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