use_model_printer: set model automatic printing as a flextable

View source: R/as_flextable.R

use_model_printerR Documentation

set model automatic printing as a flextable

Description

Define as_flextable() as print method in an R Markdown document for models of class:

  • lm

  • glm

  • models from package 'lme' and 'lme4'

  • htest (t.test, chisq.test, ...)

  • gam

  • kmeans and pam

In a setup run chunk:

flextable::use_model_printer()

Usage

use_model_printer()

See Also

use_df_printer(), flextable()


davidgohel/flextable documentation built on April 18, 2024, 11:37 a.m.