summary.forest: 'forest' summary

View source: R/utils.R

summary.forestR Documentation

forest summary

Description

Print a summary of a forest object.

Usage

## S3 method for class 'forest'
summary(object, html = TRUE, ...)

Arguments

object

an object of class forest

html

logical; if TRUE, summary will be formatted for display output in html; see examples

...

ignored

Examples

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)


raredd/forest documentation built on Feb. 19, 2024, 9:22 p.m.