View source: R/deprecated_defunct.R
na.mean | R Documentation |
na_mean
instead.na.mean is replaced by na_mean
.
The functionality stays the same. The new name better fits modern R code
style guidelines (which prefer _ over . in function names).
na.mean(x, option = "mean", maxgap = Inf, ...)
x |
Numeric Vector ( |
option |
Algorithm to be used. Accepts the following input:
|
maxgap |
Maximum number of successive NAs to still perform imputation on. Default setting is to replace all NAs without restrictions. With this option set, consecutive NAs runs, that are longer than 'maxgap' will be left NA. This option mostly makes sense if you want to treat long runs of NA afterwards separately. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.