View source: R/dataPreprocessing.R
cleanDataset | R Documentation |
Cleans the dataset by removing non-numeric columns and those with perfect correlations.
cleanDataset(dataset, correlation_threshold = 1)
dataset |
A data frame containing the dataset to be cleaned. |
correlation_threshold |
A numeric value between -1 and 1 that specifies the correlation threshold for removing perfectly correlated columns. |
A list containing the cleaned dataset (dataset
) with the description column
and the correlation matrix R (R
).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.