Learn R Programming

GET (version 0.1-5)

crop_curves: Crop the curves to a certain interval.

Description

Crop the curves to a certain interval in preparation for a deviation test.

Usage

crop_curves(curve_set, r_min = NULL, r_max = NULL)

Arguments

curve_set

A curve_set (see create_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.

r_min

The minimum radius to include.

r_max

The maximum radius to include.

Value

A curve_set object containing the cropped summary functions and the cropped radius vector.