flextable (version 0.5.11)

as_flextable.lm: tabular summary for lm object

Description

produce a flextable describing a linear model produced by function lm.

Usage

# S3 method for lm
as_flextable(x, ...)

Arguments

x

lm model

...

unused argument

Illustrations

See Also

Other as_flextable methods: as_flextable.glm(), as_flextable.grouped_data(), as_flextable.htest(), as_flextable.xtable(), as_flextable()

Examples

Run this code
# NOT RUN {
if(require("broom")){
  lmod <- lm(rating ~ complaints + privileges +
    learning + raises + critical, data=attitude)
  ft <- as_flextable(lmod)
  ft
}
# }

Run the code above in your browser using DataCamp Workspace