data_clean: This function is used to check some common errors of a raw...

View source: R/data-cleaning.R

data_cleanR Documentation

This function is used to check some common errors of a raw dataset and return a suitable dataset for feeding in the imputer later on. Note that this would not guarantee the dataset is fully cleaned.

Description

This function is used to check some common errors of a raw dataset and return a suitable dataset for feeding in the imputer later on. Note that this would not guarantee the dataset is fully cleaned.

Usage

data_clean(rawdata, levels.tol = 0.2)

Arguments

rawdata

A data frame. (a raw dataset)

levels.tol

Tolerant proportion of the number of levels to the number of observations in a dataset. Default: 0.2


agnesdeng/misle documentation built on Sept. 22, 2023, 8:48 p.m.