Learn R Programming

AutoScore (version 1.1.0)

check_data: AutoScore function for datasets with binary outcomes: Check whether the input dataset fulfill the requirement of the AutoScore

Description

AutoScore function for datasets with binary outcomes: Check whether the input dataset fulfill the requirement of the AutoScore

Usage

check_data(data)

Value

No return value, the result of the checking will be printed out.

Arguments

data

The data to be checked

Examples

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

Run the code above in your browser using DataLab