to_latex: R Object to Latex

View source: R/latex.R

to_latexR Documentation

R Object to Latex

Description

Generic method that accepts some R object and converts it to LaTeX.

Usage

to_latex(x, ...)

## S3 method for class 'matrix'
to_latex(x, digits = NULL, envir = "pmatrix", ...)

## S3 method for class 'numeric'
to_latex(x, digits = NULL, envir = "pmatrix", ...)

Arguments

x

object used to choose a method.

...

extra arguments passed to method.

digits

integer. Passed to format().

envir

character. LaTeX matrix style.


nclJoshCowley/jcutils documentation built on Nov. 22, 2022, 10:16 a.m.