Learn R Programming

flextable (version 0.7.2)

as_flextable.merMod: tabular summary for mixed model

Description

produce a flextable describing a mixed model. The function is only using package 'broom.mixed' that provides the data presented in the resulting flextable.

Usage

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

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

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

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

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

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

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

Arguments

x

a mixed model

...

unused argument

Examples

Run this code
if(require("broom.mixed") && require("nlme")){
  m1 <- lme(distance ~ age, data = Orthodont)
  ft <- as_flextable(m1)
  ft
}

Run the code above in your browser using DataLab