Description Usage Arguments Value Examples
View source: R/variable_calculation.R
Replace missing values with the mean
1 | fill_na_mean(numeric.vector)
|
numeric.vector |
A vector with at least one numeric value. |
The input whos NAs are replaced by the input's mean.
1 | fill_na_mean(c(1, 2, 3, NA, 5, 3, NA, 6))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.