lt_SER_row: Specify a footer row that indicates the standard error of...

lt_SER_rowR Documentation

Specify a footer row that indicates the standard error of regression for each model

Description

Given a mat produced by regTable() in which all regressions are of class lm, this function returns a footer row that indicates the standard error of regression (i.e., σ, the "residual standard error") for each model in mat.

Usage

lt_SER_row(
  mat = parent.frame()$mat,
  decimalPlaces = parent.frame()$decimalPlaces
)

Arguments

mat

A matrix, typically a regTable object.

decimalPlaces

Integer. See latexTable.

Value

A vector of strings. The first element in the vector is "Std. error of regression". The remaining elements are strings that indicate the SER for each model in mat. The strings are rounded to the number of digits specified by the decimalPlaces argument.


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