convert_envelope: Convert an envelope object to a curve_set object.

Description Usage Arguments Value

Description

If given an envelope object, convert it into a curve_set object. If given a curve_set object, check its correctness and give it back.

Usage

1
convert_envelope(curve_set, ...)

Arguments

curve_set

A curve_set or an envelope object. If an envelope object is given, it must contain the summary functions from the simulated patterns which can be achieved by setting savefuns = TRUE when calling envelope().

...

Allows to pass arguments to check_curve_set_content and envelope_to_curve_set (to be passed further through create_curve_set to check_curve_set_content).

Value

If an envelope object was given, return a corresponding curve_set object. If a curve_set object was given, return it unharmed.


myllym/spptest documentation built on May 23, 2019, noon