data_prepare {volker} | R Documentation |
Clean data, check column selection, remove cases with missing values
data_prepare(data, cols, cross, clean = TRUE)
data |
Data frame to be prepared. |
cols |
The first column selection. |
cross |
The second column selection. |
clean |
Whether to clean data using data_clean. |
Prepared data frame.
data <- volker::chatgpt
data_prepare(data, sd_age, sd_gender)