fixRegressionTable: Expand regression coefficient table

View source: R/fixRegressionTable.R

fixRegressionTableR Documentation

Expand regression coefficient table

Description

Expand regression coefficient table

Usage

fixRegressionTable(
  x,
  varnames,
  reference.value,
  reference.style = NULL,
  factorlevels,
  scale = NULL,
  nmiss,
  intercept
)

Arguments

x

object resulting from lm, glm or coxph.

varnames

Names of variables

reference.value

Reference value for reference categories

reference.style

Style for showing results for categorical variables. If "extraline" show an additional line for the reference category.

factorlevels

Levels of the categorical variables.

scale

Scale for some or all of the variables

nmiss

Number of missing values

intercept

Intercept

Details

This function expands results from "regressionTable" with extralines and columns

For factor variables the reference group is shown. For continuous variables the units are shown and for transformed continuous variables also the scale. For all variables the numbers of missing values are added.

Value

a table with regression coefficients

Author(s)

Thomas Alexander Gerds <tag@biostat.ku.dk>


Publish documentation built on Jan. 18, 2023, 1:08 a.m.