This is a column version of deleteBogusRows
. Use the pm
argument to set the proportion of missing required before a column
is flagged for deletion
deleteBogusColumns(dframe, pm = 0.9, drop = FALSE, verbose = TRUE, n = 25)
a data frame, invisibly
A data frame or matrix
"proportion missing data" to be tolerated.
Default FALSE: if data frame result is reduced to one column, should R's default drop behavior "demote" this to a column vector.
Default TRUE. Should a report be printed summarizing information to be delted?
Default 25: limit on number of values to print in diagnostic output. If set to NULL or NA, then all of the column values will be printed for the bogus rows.
Paul Johnson <pauljohn@ku.edu>
deleteBogusRows