Learn R Programming

mosaic (version 0.14)

fortify.summary.lm: Extract data from R objects

Description

Extract data from R objects

Usage

"fortify"(model, data = NULL, level = 0.95, ...)
"fortify"(model, data = NULL, level = 0.95, ...)
"fortify"(model, data, order = c("asis", "pval", "difference"), ...)

Arguments

model
an R object
data
original data set, if needed
level
confidence level
...
additional arguments
order
one of "pval", "diff", or "asis" determining the order of the pair factor, which determines the order in which the differences are displayed on the plot.

Examples

Run this code
fortify(TukeyHSD(lm(age ~ substance, data=HELPrct)))

Run the code above in your browser using DataLab