check_data {AutoScore} | R Documentation |
AutoScore function for datasets with binary outcomes: Check whether the input dataset fulfill the requirement of the AutoScore
check_data(data)
data |
The data to be checked |
No return value, the result of the checking will be printed out.
data("sample_data")
names(sample_data)[names(sample_data) == "Mortality_inpatient"] <- "label"
check_data(sample_data)