tx_mdl.lme: Present an nlme-produced lme model object in a LaTeX table

Description Usage Arguments Value

View source: R/tx_models.R

Description

Present an nlme-produced lme model object in a LaTeX table

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## S3 method for class 'lme'
tx_mdl(
  mdl,
  d = 3,
  intercept = TRUE,
  varnames = NULL,
  lbl = "",
  caption = "",
  coef.head = "Coefficient",
  FUN = identity,
  print_mdl = TRUE
)

Arguments

mdl

An lme object

d

An integer specifying the number of significant digits to be presented in the table.

intercept

Logical indicating whether the table should include a row for the fixed intercept. Default is TRUE.

varnames

Character vector of length length(names(mdl$coefficients$fixed)) specifying the names of fixed effects in the model.

lbl

LaTeX label for the table.

caption

Caption for the table.

coef.head

Word or phrase to use as a header for coefficient estimates.

FUN

Function to apply to coefficients before presenting. Default is identity().

print_mdl

Logical indicating whether the summary table should be wrapped in LaTeX.

Value

A LaTeX or clear-text table.


trahelyk/trahelyk_pkg documentation built on June 14, 2021, 9:25 p.m.