mean.middle {StabPerf}R Documentation

Calculates mean of the middle 50 percent (between quantiles 1/3) of the data.

Description

Calculates mean of the middle 50 percent (between quantiles 1/3) of the data.

Usage

mean.middle(x, middle=mean, na.rm=TRUE)

Arguments

x vector of values.
middle function to evaluate to find the middle-value.
na.rm delete NAs in x.

Details

Calculates mean of the middle 50 percent (between quantiles 1/3) of the data. If there are no data in the middle 50 percent, because there are simply too few data, then the middle over all the data is returned.

Value

mean Numeric. Mean of the middle 50 percent.

See Also

median, mean, quantile


[Package StabPerf version 0.5 Index]