fixRegressionTable: Expand regression coefficient table

Description Usage Arguments Details Value Author(s)

View source: R/fixRegressionTable.R

Description

Expand regression coefficient table

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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. 8, 2021, 5:37 p.m.