spatstat (version 1.62-2)

range.fv: Range of Function Values

Description

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

Usage

# S3 method for fv
range(…, na.rm = TRUE, finite = na.rm)

# S3 method for fv max(…, na.rm = TRUE, finite = na.rm)

# S3 method for fv 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
# NOT RUN {
   G <- Gest(cells)
   range(G)
   max(G)
   min(G)
# }

Run the code above in your browser using DataCamp Workspace