unmc: Unclasses the mc or the mcnode Object

Description Usage Arguments Value Examples

View source: R/unmc.R

Description

Unclasses the mc object in a list of arrays or the mcnode object in an array.

Usage

1

Arguments

x

A mc or a mcnode object.

drop

Should the dimensions of size 1 be dropped (see drop).

Value

if x is an mc object: a list of arrays. If drop=TRUE, a list of vectors, matrixes and arrays. if x is an mcnode object: an array. If drop=TRUE, a vector, matrix or array.

Examples

1
2
3
4
5
data(total)
## A vector
unmc(total$xV, drop=TRUE)
## An array
unmc(total$xV, drop=FALSE)

mc2d documentation built on July 5, 2021, 3:01 p.m.