removeRowsThatAreNaInColumn | R Documentation |
Remove Rows That are NA in Given Column
removeRowsThatAreNaInColumn(data, column, dbg = TRUE)
data |
data frame |
column |
column name |
dbg |
it |
data
with rows removed that are NA
in
data[[column]]
df <- data.frame(a = c(1, NA, 3), b = c(11, 22, NA)) df removeRowsThatAreNaInColumn(df, "a") removeRowsThatAreNaInColumn(df, "b")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.