This functionr finds the number of NAs in each column, and removes any columns with more than n missing values.
1 | removeCols_nNAs(df, n)
|
df |
The matrix with possible missing values |
n |
The upper limit of NAs allowed in a column |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.