`viviBartMatrix.Rd`

Returns a matrix or list of matrices. If type = 'standard' a matrix filled with vivi values is returned. If type = 'vsup' two matrices are returned. One with the actual values and another matrix of uncertainty values. If type = 'quantiles', three matrices are returned. One for the 25

viviBartMatrix( trees, type = "standard", metric = "propMean", metricError = "CV", reorder = FALSE )

trees | A data frame created by `extractTreeData` function. |
---|---|

type | Which type of matrix to return. Either 'standard', 'vsup', 'quantiles' |

metric | Which metric to use to fill the actual values matrix. Either 'propMean' or 'count'. |

metricError | Which metric to use to fill the uncertainty matrix. Either 'SD', 'CV' or 'SE'. |

reorder | LOGICAL. If TRUE then the matrix is reordered so high values are pushed to the top left. |

A heatmap plot showing variable importance on the diagonal and variable interaction on the off-diagonal.