R: Range of Function Values

range.fv {spatstat.core} | R Documentation

## 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)

Adrian Baddeley Adrian.Baddeley@curtin.edu.au

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

### See Also

`with.fv`

### Examples

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

[Package spatstat.core version 2.4-4 Index]