R/plot_vi.R
plot_vi.Rd
Plots global importance (i.e. cumulative importance of all features for all response variables) and individual response importance.
plot_vi(
VI,
modelPerf,
Y,
X,
groupCov = NULL,
cutoff = 0.2,
mode = "regression"
)
A dataframe
data frame generated from mrvip function
A dataframe
data frame generated by modelPerf function
A dataframe
response data
A dataframe
feature data
A numeric
determines Mathews correlation coefficient (mcc) threshold for displaying individual response model. Default is 0.5
character
'classification' or 'regression' i.e., is the generative model a regression or classification?
1st plot: and individual reponse feature plots (2nd plot). Requires object generated from the R function mrvip as well as feature data (Y). Variables also need to be grouped to allow for easier interpretation.