• Linearly weighted average, newest observation carrying weight period. Valid scalar defaults sum weighted terms oldest first and omit nonfinite results. Supplied skip weights period finite observations and holds across gaps; propagate requires a full chronological window. Warmup is NaN. The option path validates a positive safe-integer period and a missing policy, throwing RangeError or TypeError.

    Parameters

    Returns number[]

  • Bar-aligned lengths weight the newest selected observation most; NaN lengths give gaps.

    Parameters

    Returns number[]