crop_curves: Crop the curves

View source: R/crop.r

crop_curvesR Documentation

Crop the curves

Description

Crop the curves to a certain interval, or crop missing and infinite argument values from the curves

Usage

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

Arguments

curve_set

A curve_set (see create_curve_set) or an envelope object of spatstat. 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 the envelope function.

allfinite

Logical. TRUE means that the argument values where any of the curves have missing or infinite values are removed. FALSE means that only r_min and r_max apply.

r_min

The minimum radius to include.

r_max

The maximum radius to include.

Details

The curves can be cropped to a certain interval defined by the arguments r_min and r_max. Also the argument values of the sets of curves which have missing or infinite values for any of the curves can be removed from the set (allfinite = TRUE). The interval should generally be chosen carefully for classical deviation tests.

Value

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


GET documentation built on Sept. 29, 2023, 5:06 p.m.