lt_footer: Compute default footers for latexTable() objects.

lt_footerR Documentation

Compute default footers for latexTable() objects.

Description

The default footer row or rows are determined in this way: if SE_table is FALSE or rowNames is NULL, no footer rows are produced. Otherwise, a footer row will be added for each of the following attributes of mat: "r.squared", "SER", and "N". If mat lacks one of those attributes, there will be no corresponding footer\NBrow. The function is not exported and is intended to be called only by \linkIntlatexTable.

Usage

lt_footer(
  mat = parent.frame()$mat,
  rowNames = parent.frame()$rowNames,
  SE_table = parent.frame()$SE_table,
  decimalPlaces = parent.frame()$decimalPlaces
)

Arguments

mat

A matrix, typically a regTable object.

rowNames

Character vector. See \linkIntlatexTable.

SE_table

Logical variable. See \linkIntlatexTable.

decimalPlaces

Integer. See See \linkIntlatexTable.

Value

A list of string vectors. Each list element contains the strings needed to produce a footer\NBrow.


jbullock35/Bullock documentation built on April 1, 2022, 6:21 p.m.