fixRegressionTable {Publish}R 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>


[Package Publish version 2023.01.17 Index]