View source: R/misc_functions.R
knife_mean | R Documentation |
knife_mean
is an internal function. Calculates arithmetic means by removing one observation
at a time.
knife_mean(x)
x |
A numerical variable. Missing values are removed for the mean calculation. |
A vector with the mean calculations.
x <- rnorm(10, 170, 8)
x
mean(x)
knife_mean(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.