rf_vimp {cjbart} | R Documentation |
Estimate a Single Variable Importance Metric for cjbart
Object
Description
Estimates random forest variable importance scores for a single attribute-level of a conjoint experiment. This function is for advanced use. Users should typically use the het_vimp()
function.
Usage
rf_vimp(model, outcome, covars = NULL)
Arguments
model |
Object of class |
outcome |
Character string detailing the covariate over which to analyze heterogeneous effects |
covars |
An optional vector of covariates to include in the importance metric check. When |
Value
Data.frame of variable importance scores for each covariate in the model, as well as values for the estimated 95% confidence interval for each importance score.
[Package cjbart version 0.3.2 Index]