Description Usage Arguments Value Examples
Fills missing values of a numeric vector by using its median value.
1 |
x |
A numeric vector possibly containing missing values. |
A numeric vector of the same length as x
but without missing
values.
1 | impute_median(c(NA, 0, 1, 0, 1))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.