compute_descriptive_table {AutoScore}R Documentation

AutoScore function: Descriptive Analysis

Description

Compute descriptive table (usually Table 1 in the medical literature) for the dataset.

Usage

compute_descriptive_table(df)

Arguments

df

data frame after checking and fulfilling the requirement of AutoScore

Value

No return value and the result of the descriptive analysis will be printed out.

Examples

data("sample_data")
names(sample_data)[names(sample_data) == "Mortality_inpatient"] <- "label"
compute_descriptive_table(sample_data)

[Package AutoScore version 0.2.0 Index]