Extract data from R objects
# S3 method for summary.lm
fortify(model, data = NULL, level = 0.95, ...)
# S3 method for summary.glm
fortify(model, data = NULL, level = 0.95, ...)
# S3 method for TukeyHSD
fortify(model, data, order = c("asis", "pval", "difference"), ...)
an R object
original data set, if needed
confidence level
additional arguments
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.