set.new.constraint.value: Update Constraint Settings.

View source: R/filters.R

set.new.constraint.valueR Documentation

Update Constraint Settings.

Description

Updates the constraint settings with new values. Sets to the maximal observed values within the limits or less if relax.speed is less than 1.

Usage

set.new.constraint.value(values, relax.speed, cur.limits, cur.setting)

Arguments

values

Observed constraint values considered for the update.

relax.speed

The speed at which the constraints should be relaxed. This value should be in the interval [0,1].

cur.limits

List with current relaxation limits.

cur.setting

List with current constraint settings.

Value

Relaxed constraint settings according to the given values and cur.limits.


matdoering/openPrimeR documentation built on July 4, 2025, 3:59 a.m.