powered by
addvar adds consistent mcnodes to build a multivariate mcnode .
extractvar(x, which=1) addvar(...)
mcnode
x <- mcdata(0:3, "0", nvariates = 4) y <- extractvar(x, c(1, 3)) y addvar(x, y)
Run the code above in your browser using DataLab