knife_mean: Jackknife for means.

Description Usage Arguments Value Examples

View source: R/misc_functions.R

Description

knife_mean is an internal function. Calculates arithmetic means by removing one observation at a time.

Usage

1

Arguments

x

A numerical variable. Missing values are removed for the mean calculation.

Value

A vector with the mean calculations.

Examples

1
2
3
4
x <- rnorm(10, 170, 8)
x
mean(x)
knife_mean(x)

pubh documentation built on Feb. 17, 2021, 1:08 a.m.