Learn R Programming

MAST (version 0.931)

conform: Do two objects conform in dimension and type?

Description

Returns false if: other does not inherit from Matrix Otherwise returns a bitmask, which is the sum of: 1: objects have same number of rows 2: objects have same number of columns 4: objects have same number of layers

Usage

conform(dl, other)

Arguments

dl

DataLayer

other

Another object

Value

bitmask containing number of dimensions that agree