spatstat (version 1.11-7)

compatible.fv: Test Whether Two Function Objects Are Compatible

Description

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

Usage

compatible.fv(A, B)

Arguments

A,B
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 function tests whether two such objects are compatible (so that, for example, they could be added or subtracted). 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.