powered by
Clean data, check column selection, remove cases with missing values
data_prepare( data, cols, cross, cols.categorical, cols.numeric, cols.reverse, clean = TRUE )
Prepared data frame.
Data frame to be prepared.
The first column selection.
The second column selection.
A tidy selection of columns to be checked for categorical values.
A tidy selection of columns to be converted to numeric values.
A tidy selection of columns with reversed codings.
Whether to clean data using data_clean.
data <- volker::chatgpt data_prepare(data, sd_age, sd_gender)
Run the code above in your browser using DataLab