| cnNodes-method | R Documentation |
Returns the list of nodes of a catNetwork object.
cnNodes(object, which)
object |
a |
which |
a vector of node indices |
Nodes are represented by characters. When a random catNetwork object is constructed,
it takes the default node names N#,
where # are node indices. The function returns the node names with indices given by parameter which,
and all node names if which is not specified.
a list of characters, the node names
N. Balov, P. Salzman
cnNumNodes
library(catnet) cnet <- cnRandomCatnet(numnodes=10, maxParents=3, numCategories=2) cnNodes(object=cnet)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.