vintPlot.Rd
Plot the pair-wise variable interactions inclusion porportions for a BART model with the 25
vintPlot(trees, plotType = "barplot", top = NULL)
trees | A data frame created by `extractTreeData` function. |
---|---|
plotType | Which type of plot to return. Either a barplot 'barplot' with the quantiles shown as a line, a point plot with the quantiles shown as a gradient 'point', or a letter-value plot 'lvp'. |
top | Display only the top X metrics (does not apply to the letter-value plot). |
A plot of variable importance.
if (FALSE) { df_trees <- extractTreeData(model = my_model, data = my_data) vintPlot(trees = df_trees, top = 5) }