trim: Trimmed mean

View source: R/agg.R

trimR Documentation

Trimmed mean

Description

Trim the top and bottom (p*100)% of forecasts

Usage

trim(x, p = 0.1)

Arguments

x

Vector of forecasts in 0 to 100 range (%)

p

The proportion of forecasts to trim from each end (between 0 and 1)

Value

(numeric) The trimmed mean of the vector


aggutils documentation built on Aug. 23, 2023, 1:09 a.m.

Related to trim in aggutils...