Description Usage Arguments Value
Test a constructed node has the expected traits
1 2 | test.traits(node, params, degree, pindices.jumptable, pvals, parents, index,
vals)
|
node |
the constructed node. |
params |
a matrix giving the expected parameters for the node. |
degree |
a numeric giving the expected degrees of freedom of the node |
pindices.jumptable |
a vector giving the expected parent indices, jump table or pmap of the mode, depending on node type. |
pvals |
a vector giving the expected number of values for each parent of the node |
parents |
a vector giving the indices of the parents of the node |
index |
an integer giving the expected index of the node |
vals |
a vector giving the expected values of the node |
vector of boolean values indicating whether above match actual traits
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.