vimpBart.RdA matrix with nMCMC rows with each variable as a column. Each row represents an MCMC iteration. For each variable, the total count of the number of times that variable is used in a tree is given.
vimpBart(trees, type = "prop")
| trees | A data frame created by `extractTreeData` function. |
|---|---|
| type | What value to return. Either the raw count 'val', the proportion 'prop', the column means of the proportions 'propMean', or the median of the proportions 'propMedian'. |
A matrix