CreateLogisticRegressionSubTable: Create logistic regression subtable

Description Usage Arguments

View source: R/CreateLogisticRegressionSubTable.R

Description

Creates a subtable for reporting logistic regression results.

Usage

1
2
3
CreateLogisticRegressionSubTable(model.object, odds.ratio = TRUE,
  confidence.interval = 0.95, include.intercept = FALSE,
  include.p.value = FALSE, digits = 2, verbose = FALSE)

Arguments

model.object

List of class glm. The model object on which to base the table. No default.

odds.ratio

Logical vector of length 1. If TRUE odds ratios are reported in the table instead of coefficients. Defaults to TRUE.

confidence.interval

Numeric vector of length 1. Has to be greater than 0 and less than 1. The width of the confidence interval. Defaults to 0.95.

include.intercept

Logical vector of length 1. If TRUE the model intercept is reported. Defaults to FALSE.

include.p.value

Logical vector of length 1. If TRUE the p-value is reported. Defaults to FALSE.

digits

Numerical vector of length 1. Has to be an integer greater than 0. The number of digits when reporting results. Defaults to 2.

verbose

Logical vector of length 1. If TRUE progress is printed as the function runs. Useful for debugging. Defaults to FALSE.

save.table

Logical vector of length 1. If TRUE the table is saved to the results file. Defaults to TRUE.

table.name

Character vector of length 1 or NULL. The name of the table when saved. Only used if save.table is TRUE, in which case table.name cannot be NULL. Defaults to NULL.


martingerdin/bengaltiger documentation built on Feb. 29, 2020, 4:46 p.m.