Learn R Programming

transport (version 0.12-1)

compatible: Test whether Two Objects are Compatible

Description

Test whether two objects of the same class are ‘of similar shape’ so that the function transport can be applied.

Usage

compatible(target, current, ...)
# S3 method for pgrid
compatible(target, current, ...)
# S3 method for pp
compatible(target, current, ...)
# S3 method for wpp
compatible(target, current, ...)

Arguments

target, current

to objects of the same class to be compared.

currently without effect.

Value

Logical.

See Also

all.equal