cleanDataset: Clean Dataset

View source: R/dataPreprocessing.R

cleanDatasetR Documentation

Clean Dataset

Description

Cleans the dataset by removing non-numeric columns and those with perfect correlations.

Usage

cleanDataset(dataset, correlation_threshold = 1)

Arguments

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.

Value

A list containing the cleaned dataset (dataset) with the description column and the correlation matrix R (R).


neobernad/evaluomeR documentation built on Nov. 12, 2024, 11:29 p.m.