minimal_variance_filter: Apply Variance Filter to Variables

Description Usage Arguments Value

View source: R/utilities.R

Description

This function takes a data frame, and transforms it by keeping only those binary variables whose variance is greater than a given threshold. Non-binary variables are kept as they are

Usage

1
minimal_variance_filter(DF, threshold)

Arguments

DF

A data frame

threshold

num. Variables whose variance is lesser than threshold is removed from DF

Value

DF, with variables within the given variance threshold removed


mandel94/easyAnalysis documentation built on Jan. 2, 2022, 9:52 a.m.