outm: Output of Nodes

Description Usage Arguments Value Examples

View source: R/outm.R

Description

Changes the output of Nodes

Usage

1
outm(x, value="each", which.node=1)

Arguments

x

A mcnode or a mc object.

value

The output of the mcnode for multivariates nodes. May be "each" (default) if output should be provided for each variates considered independently, "none" for no output or a vector of name of function(s) (as a character string) that will be applied on the variates dimension before any output (ex: "mean", "median", c("min","max")). The function should have no other arguments and send one value per vector of values (ex. do not use "range").

which.node

which node should be changed in a mc object

Value

x with a modified outm attribute.

Examples

1
2
3
4
5
6
data(total)
total$xVUM2
## since outm = NULL
summary(total$xVUM2) 
x <- outm(total$xVUM2, c("min"))
summary(x)

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