summary.forest | R Documentation |
forest
summaryPrint a summary of a forest
object.
## S3 method for class 'forest'
summary(object, html = TRUE, ...)
object |
an object of class |
html |
logical; if |
... |
ignored |
x <- forest(
glm(vs ~ factor(gear) + wt + hp, mtcars, family = 'binomial'),
header = c('Gear', 'Weight', 'Horsepower')
)
summary(x, html = FALSE)
## Not run:
library('htmlTable')
s <- summary(x)
s <- gsub('factor.*\\)', '', s)
htmlTable(s, align = 'lc', caption = 'Model summary.')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.