Learn R Programming

spatstat (version 1.48-0)

range.fv: Range of Function Values

Description

Compute the range, maximum, or minimum of the function values in a summary function.

Usage

"range"(..., na.rm = TRUE, finite = na.rm)
"max"(..., na.rm = TRUE, finite = na.rm)
"min"(..., na.rm = TRUE, finite = na.rm)

Arguments

...
One or more function value tables (objects of class "fv" representing summary functions) or other data.
na.rm
Logical. Whether to ignore NA values.
finite
Logical. Whether to ignore values that are infinite, NaN or NA.

Value

Numeric vector of length 2.

Details

These are methods for the generic range, max and min. They compute the range, maximum, and minimum of the function values that would be plotted on the $y$ axis by default.

For more complicated calculations, use with.fv.

See Also

with.fv

Examples

Run this code
   G <- Gest(cells)
   range(G)
   max(G)
   min(G)

Run the code above in your browser using DataLab