getNdSlt | R Documentation |
Returns the value of named slot.
getNdSlt(tree, slt_nm, id)
tree |
|
slt_nm |
slot name |
id |
node id |
Returned object depends on name, either character, vector or numeric. Default node slots are: id, spn, prid, ptid and txnym. If slot is empty, returns NA.
getNdsSlt
,
https://github.com/DomBennett/treeman/wiki/get-methods
tree <- randTree(10)
getNdSlt(tree, slt_nm = "spn", id = "t1") # return span of t1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.