Description Usage Arguments Value See Also Examples
View source: R/remove_incomplete_obs.R
Remove incomplete observations from a data frame
This function removes any rows that have an NA value in one or more of the specified columns
1 | remove_incomplete_obs(d, cols)
|
d |
data frame with first column as ID |
cols |
list of columns that cannot contain NA values |
data frame with rows removed
Other filter functions: colfilter
,
get_binary
, get_categorical
,
get_check
, get_continuous
,
min_cat_n
, min_n
,
remove_outliers
, rowfilter
1 2 3 4 | ## Not run:
result <- remove_incomplete_obs(d, c("column1", "column2"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.