Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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 class 'fv'
range(..., na.rm = TRUE, finite = na.rm)

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

  ## S3 method for class '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.

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.

Value

Numeric vector of length 2.

Author(s)

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

See Also

Examples

G <- Gest(cells)
   range(G)
   max(G)
   min(G)

spatstat.core

Core Functionality of the 'spatstat' Family

v2.1-2
GPL (>= 2)
Authors
Adrian Baddeley [aut, cre], Rolf Turner [aut], Ege Rubak [aut], Kasper Klitgaard Berthelsen [ctb], Achmad Choiruddin [ctb], Jean-Francois Coeurjolly [ctb], Ottmar Cronie [ctb], Tilman Davies [ctb], Julian Gilbey [ctb], Yongtao Guan [ctb], Ute Hahn [ctb], Kassel Hingee [ctb], Abdollah Jalilian [ctb], Marie-Colette van Lieshout [ctb], Greg McSwiggan [ctb], Tuomas Rajala [ctb], Suman Rakshit [ctb], Dominic Schuhmacher [ctb], Rasmus Plenge Waagepetersen [ctb], Hangsheng Wang [ctb]
Initial release
2021-04-17

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.