Description Usage Arguments Details Value Examples
Removes the missing values from a data frame of factors, and returns a summary of what is removed, by column.
1 | missingnessRemove(x, missingValues)
|
x |
a data frame |
missingValues |
A character vector, listing the values of the factors that correspond to missing values. |
Each column is releveled after the removal, so that the
factor contains only values that exist after the missing
values have been removed. Note that this could mean that
levels that are NOT missing values (ie supplied in
missingValues
) could be removed. This happens when
a level is only present when another variable is missing.
The supplied data frame with rows that include a missing value removed.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.