Learn R Programming

spatstat.explore (version 3.2-3)

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, ...)

Value

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

if they are not.

Arguments

A,B,...

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

Author

Adrian Baddeley Adrian.Baddeley@curtin.edu.au

and Rolf Turner r.turner@auckland.ac.nz

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