Skip to contents

Apply Ensemble of Averages (EoA)

Usage

eoa(ts, qs, collector = "median", w.func = NULL, ...)

Arguments

ts

A `ts` object.

qs

MA orders.

collector

Aggregation method.

w.func

Optional function to generate a weight vector given `order`. Should return a numeric vector of length `order`.

...

Additional arguments passed to `w.func`, if specified.

Value

Smoothed `ts` object with MA ensemble metadata.