Description Usage Arguments Value
Remove NAs according to a strategy
1 |
strategy |
Character string denoting how NAs should be dealt with. "dependent" means rows with NA in the dependent variable are dropped. "predictors" means rows with NA in an independent variable are dropped. "all" means rows with NA in any column are dropped. "none" means NAs are ignored. |
df |
Data frame to remove NAs from |
dependent |
Dependent variable of the data frame |
A data.frame where strategy
has been applied to remove data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.