View source: R/f02.chain.code.r
chain4chain | R Documentation |
returns the chain obtained from chain
retaining only nodes
indicated by nodes
and conditioned with nodes indicated in
condi
.
chain4chain(chain, nodes, condi=numeric(0), value=rep(0, length(condi)))
chain |
The chain object to consider. |
nodes |
|
condi |
|
value |
Numerical values associated to |
Integration is done for nodes not belonging to the extracted chain nor being in the conditioning subset. Then the distribution of the retained nodes is left identical to this in the initial chain.
The resulting chain
chain4chain(rbmn0chain.02, c("a", "d"), c("b"), 12);
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.