nodenames | R Documentation |
Retrieve the node labels of a PST
## S4 method for signature 'PSTf'
nodenames(object, L)
object |
A PST, that is an object of class |
L |
integer. Depth of the tree for which the node names are retrieved. If missing the names of all the nodes in the tree are returned. |
A vector containing the node labels (i.e. contexts).
Alexis Gabadinho
data(s1)
s1 <- seqdef(s1)
S1 <- pstree(s1, L=3)
nodenames(S1, L=3)
nodenames(S1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.