compute_multi_variable_table_ordinal {AutoScore}R Documentation

AutoScore-Ordinal function: Multivariate Analysis

Description

Generate tables for multivariate analysis

Usage

compute_multi_variable_table_ordinal(df, link = "logit", n_digits = 3)

Arguments

df

data frame after checking

link

The link function used to model ordinal outcomes. Default is "logit" for proportional odds model. Other options are "cloglog" (proportional hazards model) and "probit".

n_digits

Number of digits to print for OR or exponentiated coefficients (Default:3).

Value

result of the multivariate analysis

Examples

data("sample_data_ordinal")
# Using just a few variables to demonstrate usage:
multi_table<-compute_multi_variable_table_ordinal(sample_data_ordinal[, 1:3])

[Package AutoScore version 1.0.0 Index]