Learn R Programming

AutoScore (version 1.1.0)

compute_uni_variable_table: AutoScore function: Univariable Analysis

Description

Perform univariable analysis and generate the result table with odd ratios.

Usage

compute_uni_variable_table(df)

Value

result of univariate analysis

Arguments

df

data frame after checking

Examples

Run this code
data("sample_data")
names(sample_data)[names(sample_data) == "Mortality_inpatient"] <- "label"
uni_table<-compute_uni_variable_table(sample_data)

Run the code above in your browser using DataLab