cSanity: Column Sanity

Description Usage Arguments Examples

View source: R/cSanity.R

Description

This function displays the targeted data frame or data table with all columns with greater than a defined percentage of missing data (default 50%) removed.

Usage

1
cSanity(x, prct = 0.5, view = TRUE, return = FALSE, message = TRUE)

Arguments

x

A data frame or data table.

prct

The percent of blank or NA data to be used as a criteria for removal. Default is 50%.

view

Show the data using the view command? Default is TRUE.

return

Return the data as a data table with the columns removed? Default is FALSE.

message

Display the message saying how many columns were removed? Default is TRUE.

Examples

1

smmurphy/convenience documentation built on Aug. 26, 2020, 8:46 p.m.