RandomForestTable: RandomForestTable

View source: R/randomforesttable.R

RandomForestTableR Documentation

RandomForestTable

Description

Creates a pretty formattable table for random forest.

Usage

RandomForestTable(
  importance,
  z.statistics,
  p.values,
  sort.by.importance = TRUE,
  title = "",
  subtitle = "",
  footer = "",
  p.cutoff = 0.05
)

Arguments

importance

A matrix of importance values from the regression.

z.statistics

A vector or matrix of z statistics of the importance values.

p.values

A vector or matrix of p values of the importance values.

sort.by.importance

Sort the last column in descending order.

title

The title for the table.

subtitle

Subtitle for the table.

footer

Text to place in the footer of the table.

p.cutoff

The alpha level used when determining significance.

References

This is based on code written by Kenton Russell.


Displayr/flipFormat documentation built on Feb. 26, 2024, 12:37 a.m.