getnzvasdf: Get nzv as a nice formatted data.frame

Description Usage Arguments Value

Description

This function is needed simply because I would like my own nzv and am too lazy to type the same code every time.

Usage

1
getnzvasdf(df, the_nzv = NULL, onlyzv = F, onlynzv = T, verbose = T)

Arguments

df

the dataset as a data.frame or matrix

the_nzv

default NULL, the already calculated nzv by caret::nzv

onlyzv

logical, if TRUE, only zero variance will be returned

onlynzv

logical, if TRUE, only nzv but not zv will be returned

verbose

logical

Value

a data.frame of customized nzv


sunsiyu/featurer documentation built on May 30, 2019, 8:39 p.m.