Compute the mean across a vector `x` respecting time `t`, using trapezium rule.

timeseries_mean(x, t)

Arguments

x

Numeric values

t

Time values

Value

Estimate of `x` across time values