data_prepare {volker} | R Documentation |
Prepare data for calculation
Description
Clean data, check column selection, remove cases with missing values
Usage
data_prepare(data, cols, cross, clean = TRUE)
Arguments
data |
Data frame to be prepared. |
cols |
The first column selection. |
cross |
The second column selection. |
clean |
Whether to clean data using data_clean. |
Value
Prepared data frame.
Examples
data <- volker::chatgpt
data_prepare(data, sd_age, sd_gender)
[Package volker version 2.1.0 Index]