check_data: AutoScore function for datasets with binary outcomes: Check...

View source: R/common.R

check_dataR Documentation

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)

Arguments

data

The data to be checked

Value

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

Examples

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

AutoScore documentation built on Oct. 16, 2022, 1:06 a.m.