is.mc: Tests mc and mcnode Objects

View source: R/is.mc.R

is.mcR Documentation

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.

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.

Value

⁠TRUE⁠’ or ‘⁠FALSE⁠

Examples

data(total)
is.mcnode(xVU)
is.mcnode(total)
is.mc(total)


mc2d documentation built on June 22, 2024, 10:54 a.m.