Skip to contents

Get importance measures of auxiliary covariates.

Usage

getImportance(object, which_factors = seq_len(object@K))

Arguments

object

MFAIR object.

which_factors

Which factors, i.e., which fitted functions are evaluated. All K factors are evaluated by default.

Value

Importance score matrix. Each row is an auxiliary covariate and each column is a factor.

Details

The rpart::rpart() function will automatically change special characters in variable names to a dot which may cause some inconsistency errors. Please ensure that the auxiliary covariates' names do not contain any special characters if you want to use this function.