| unmc | R Documentation |
Unclasses an ‘mc’ object into a list of arrays, or an ‘mcnode’ object into an array.
unmc(x, drop = TRUE)
x |
a ‘mc’ or a ‘mcnode’ object. |
drop |
should dimensions of size 1 be dropped (see |
If ‘x’ is an ‘mc’ object: a list of arrays. If ‘drop=TRUE’, a list of vectors, matrices and arrays. If ‘x’ is an ‘mcnode’ object: an array. If ‘drop=TRUE’, a vector, matrix or array.
data(total)
## A vector
unmc(total$xV, drop=TRUE)
## An array
unmc(total$xV, drop=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.