View source: R/preprocess-and-validate-data.R
preprocess_dataset | R Documentation |
This function preprocesses the input data by performing checks on column data types and converting them if necessary. It ensures that the dataset meets certain requirements before further analysis or modeling.
preprocess_dataset(dataset)
dataset |
A data frame containing the dataset to be preprocessed. |
A preprocessed data frame with converted and validated column data types.
# Load a sample dataset
data(cbass_dataset)
# Preprocess the dataset
preprocessed_data <- preprocess_dataset(cbass_dataset)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.