deep_mrp_classifier
applies Deep MrP implemented in the vglmer
package to a data set.
deep_mrp_classifier(y, form, data, verbose)
A Deep MrP model. A vglmer
object.
Outcome variable. A character vector containing the column names of
the outcome variable. A character scalar containing the column name of
the outcome variable in survey
.
Model formula. A two-sided linear formula describing the model to be fit, with the outcome on the LHS and the covariates separated by + operators on the RHS.
Data. A data.frame containing the data used to train the model.
Verbose output. A logical argument indicating whether or not
verbose output should be printed. Default is FALSE
.