validcols: Return Valid variable names

Description Usage Arguments Value Examples

View source: R/variable_operations.R

Description

Return Valid variable names

Usage

1
validcols(data, threshold)

Arguments

data

name of dataset

threshold

threshold percentage of NAs or missing values

Value

names of variables that fall within user defined criteria for missing value

Examples

1
2
3
csv = system.file("extdata", 'nadata.csv', package = "nacleanR")
data <- read_data(csv)
validcols(data,50)

anandjage/nacleanr documentation built on July 13, 2019, 3:06 a.m.