typemcnode function

Provides the Type of a mcnode Object

Provides the Type of a mcnode Object

Provide the type of a mcnode object.

typemcnode(x, index=FALSE)

Examples

data(total) typemcnode(total$xVUM2)

Arguments

  • x: a mcnode object
  • index: if TRUE give the index of the type rather than the type.

Returns

"0", "V","U" or "VU" or the corresponding index if index=TRUE .

NULL if none of this element is found.

Note

This function does not test if the object is correct. See is.mcnode.

  • Maintainer: Regis Pouillot
  • License: GPL (>= 2)
  • Last published: 2024-06-05

Useful links