powered by
Valuable mostly for its warning.
drop_if_na(dfm, x)
A dataframe.
String giving a column name of dfm.
dfm
tidyr::drop_na().
tidyr::drop_na()
dfm <- data.frame(a = 1, b = NA) drop_if_na(dfm, "b") drop_if_na(dfm, "a")
Run the code above in your browser using DataLab