Learn R Programming

spatstat.core (version 2.3-1)

compatible.fasp: Test Whether Function Arrays Are Compatible

Description

Tests whether two or more function arrays (class "fasp") are compatible.

Usage

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

Arguments

A,B,…

Two or more function arrays (object of class "fasp").

Value

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

Details

An object of class "fasp" can be regarded as an array of functions. Such objects are returned by the command alltypes.

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 function arrays are compatible if the arrays have the same dimensions, and the corresponding elements in each cell of the array are compatible as defined by compatible.fv.

See Also

eval.fasp