barplot_importance: Barplot Variable Importance
Description
This function generates a barplot with the importance of each predictor.
Usage
barplot_importance(m, threshold)
Value
Barplot representing each variable on the x-axis and its importance on the y-axis.
Arguments
- m
Dataframe with the importance of each predictor.
- threshold
Importance score value in which a line should be graphed.