Description Usage Arguments Details Value Examples
Drop rows of a table whose values are all NA
1 2 3 | na_drop_rows(tbl)
drop_na_rows(tbl)
|
tbl |
data-like object |
na_drop_rows
removes all rows whose only values are NA. It works for all
table-like objects.
An object of the same class as tbl
with rows containing all
NA
values removed
1 2 3 4 5 6 7 | data(iris)
tbl <- iris[1:5,]
tbl[1:3,] <- NA
tbl
na_drop_rows(tbl)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.