remove.const.vars: Remove constant variables

View source: R/functions.R

remove.const.varsR Documentation

Remove constant variables

Description

remove constant variables from a data.frame.

Usage

remove.const.vars(df)

Arguments

df

data.frame from which constant variable will be removed.

Value

data.frame with removed constant variables.

Examples

df <- data.frame(a = rnorm(5), b = 1:5, c = rep(1, 5))
df <- remove.const.vars(df)

DrrDom/pfpp documentation built on April 17, 2024, 10:24 a.m.