Learn R Programming

spatstat.explore (version 3.0-6)

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)

Value

Numeric vector of length 2.

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.

Author

Adrian Baddeley Adrian.Baddeley@curtin.edu.au

, Rolf Turner r.turner@auckland.ac.nz and Ege Rubak rubak@math.aau.dk.

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