knife_mean {pubh}R Documentation

Jackknife for means.

Description

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

Usage

knife_mean(x)

Arguments

x

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

Value

A vector with the mean calculations.

Examples

x <- rnorm(10, 170, 8)
x
mean(x)
knife_mean(x)

[Package pubh version 1.3.2 Index]