tex: TeX-friendly Output Formatting

Description Usage Arguments See Also

View source: R/tex.R

Description

Convert R objects into LaTeX-parseable output.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
  tex(...)

  ## S3 method for class 'matrix'
tex(x, options = getOption("texr.params"), ...)

  ## S3 method for class 'table'
tex(x, options = getOption("texr.params"), ...)

  ## S3 method for class 'lm'
tex(x, options = getOption("texr.params"), 
                   model.name = "Model", include.se = TRUE, 
                   clean.intercept = TRUE, ...)

  ## S3 method for class 'list'
tex(ll, options = getOption("texr.params"), ...)

Arguments

x

An R object.

options

A named list of options to be applied. See texr.options.

...

Alternative approach for providing options. Anything provided must be a valid option; see texr.options. Exactly one of options and ... can be used in any tex call.

model.name

character; name to be given to the model in output, e.g., "Fixed Effects".

clean.intercept

logical; should the parentheses produced by lm surrounding the intercept name be removed?

ll

A list of objects, to each of which tex will be applied. The result is then concatenated for making a multi-column table.

See Also

texr.options


MichaelChirico/texr documentation built on Jan. 3, 2020, 3:43 a.m.