View source: R/set_rm_all_NA_rows.R
set_rm_all_NA_rows | R Documentation |
Remove rows that are completely NA
set_rm_all_NA_rows(df)
df |
data.frame or data.table. |
na_df <- data.frame(col1 = c("Hola", NA), col2 = c("Chicka", NA)) na_df <- set_rm_all_NA_rows(na_df) na_df col1 col2 1: Hola Chicka 2: NA NA
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.