compatible: Test whether Two Objects are Compatible

View source: R/lilhelpers.R

compatibleR Documentation

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 class 'pgrid'
compatible(target, current, ...)
## S3 method for class 'pp'
compatible(target, current, ...)
## S3 method for class 'wpp'
compatible(target, current, ...)

Arguments

target, current

to objects of the same class to be compared.

...

currently without effect.

Value

Logical.

Author(s)

Dominic Schuhmacher dschuhm1@uni-goettingen.de

See Also

all.equal


transport documentation built on July 9, 2023, 7:43 p.m.