View source: R/AutoScore_Ordinal.R
compute_uni_variable_table_ordinal | R Documentation |
Perform univariable analysis and generate the result table with odd ratios from proportional odds models.
compute_uni_variable_table_ordinal(df, link = "logit", n_digits = 3)
df |
data frame after checking |
link |
The link function used to model ordinal outcomes. Default is
|
n_digits |
Number of digits to print for OR or exponentiated coefficients (Default:3). |
result of univariate analysis
data("sample_data_ordinal") # Using just a few variables to demonstrate usage: uni_table<-compute_uni_variable_table_ordinal(sample_data_ordinal[, 1:3])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.