File: use_model_printer.Rd

package info (click to toggle)
r-cran-flextable 0.8.4-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,264 kB
  • sloc: sh: 15; makefile: 2
file content (29 lines) | stat: -rw-r--r-- 733 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/as_flextable.R
\name{use_model_printer}
\alias{use_model_printer}
\title{set model automatic printing as a flextable}
\usage{
use_model_printer()
}
\description{
Define \code{\link[=as_flextable]{as_flextable()}} as
print method in an R Markdown document for models
of class:
\itemize{
\item lm
\item glm
\item models from package 'lme' and 'lme4'
\item htest (t.test, chisq.test, ...)
\item gam
\item kmeans and pam
}

In a setup run chunk:

\if{html}{\out{<div class="sourceCode">}}\preformatted{flextable::use_model_printer()
}\if{html}{\out{</div>}}
}
\seealso{
\code{\link[=use_df_printer]{use_df_printer()}}, \code{\link[=flextable]{flextable()}}
}