perform_remove_constants: Remove constant data.

View source: R/remove_constants.R

perform_remove_constantsR Documentation

Remove constant data.

Description

This function is called at each iteration of the constant data removal process until no constant data remains.

Usage

perform_remove_constants(data, cutoff)

Arguments

data

The input <data.frame> or <linelist>

cutoff

A <numeric> value specifying the cut-off for removing empty rows and columns. If provided, only rows and columns with a percentage of missing data greater than this cut-off will be removed. The default is 1.

Value

A <list> with the input dataset where all empty rows and columns as well as constant columns have been removed.


cleanepi documentation built on April 4, 2025, 5:12 a.m.