View source: R/na.rm.R View source: R/drop_na_cols.R
Drops columns from the dataframe that meet a certain threshold of NAs.
Drops columns that are entirely NA from the dataframe.
1 2 3 |
df |
dataframe. The dataframe to drop from. |
treshold |
integer. If a column has this many percent of NAs or more, drop. |
df |
data.frame. The dataframe to drop from. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.