mc2d (version 0.1-17)

is.mc: Tests mc and mcnode Objects

Description

is.mc tests mc objects and is.mcnode tests mcnode objects.

Usage

is.mc(x) is.mcnode(x)

Arguments

x
An mc or a mcnode object.

Value

TRUE or FALSE

Details

is.mc tests if x is a list of mcnode, each elements being of compatible dimension. It tests if the class "mc" is affected to the object.

is.mcnode tests if x is an array of numeric or logical, if it has a "type" attribute and compatible dimensions, and if the class "mcnode" is affected to the object.

Examples

Run this code
data(total)
is.mcnode(xVU)
is.mcnode(total)
is.mc(total)

Run the code above in your browser using DataLab