lm_to_latex: Converts a model formula to LaTeX code

Description Usage Arguments Value

Description

Converts the formula of a model object to LaTeX code for use in a knitr report or similar.

Usage

1
lm_to_latex(model, mathmode = FALSE)

Arguments

model

a model object

mathmode

boolean indicating whether the formula will be displayed in math mode. Default = false.

Value

a character string formatted for LaTeX (with knitr, i.e. multiple escapes). Users can add mathmode or texttt as they wish from knitr.


jkeirstead/jkr documentation built on May 19, 2019, 11:41 a.m.