Math.fv: S3 Group Generic Methods for Function Tables
Description
These are group generic methods for objects of class "fv", which
allows for usual mathematical functions and operators to be applied
directly to function tables. See Details for a list of implemented functions.
Usage
## S3 methods for group generics have prototypes:
Math(x, ...)
Ops(e1, e2)
Complex(z)
Summary(..., na.rm=FALSE, drop=TRUE)
Arguments
Details
Below is a list of mathematical functions and operators which are
defined for objects of class "fv".
The methods are implemented using eval.fv, which tries
to harmonise the functions via harmonise.fv if they aren't
compatible to begin with.
## Convert K function to L function K <- Kest(cells)
L <- sqrt(K/pi)
## Manually calculate J function FR <- Fest(redwood)
GR <- Gest(redwood)
suppressWarnings(JR <- (1-GR)/(1-FR))