Learn R Programming

spatstat (version 1.55-0)

compatible.fv: Test Whether Function Objects Are Compatible

Description

Tests whether two or more function objects (class "fv") are compatible.

Usage

# S3 method for fv
compatible(A, B, …)

Arguments

A,B,…

Two or more function value objects (class "fv").

Value

Logical value: TRUE if the objects are compatible, and FALSE if they are not.

Details

An object of class "fv" is essentially a data frame containing several different statistical estimates of the same function. Such objects are returned by Kest and its relatives.

This command tests whether such objects are compatible (so that, for example, they could be added or subtracted). It is a method for the generic command compatible.

The functions are compatible if they have been evaluated at the same sequence of values of the argument r, and if the statistical estimates have the same names.

See Also

eval.fv