powered by
Function to check if all values are numeric in data
check_data(df, col_names = NULL)
logical
A data frame contains columns that represent covariates
A numeric vector of covariates that can be binary or continuous
Shubhram Pandey shubhram1992@gmail.com
attach(exampleData) var = c("Age","Male") x = check_data(df = exampleData, col_names = var) x
Run the code above in your browser using DataLab