Description Usage Arguments Value Author(s) See Also Examples
Get/Set active tree to Tree by name or index. if Tree=0 only get active tree index; else set one
1 | spnActTree(Tree)
|
Tree |
- the name(character string) or the index(integer) of the tree; if 0 - just gets the active tree index. |
spnActTree
returns the index (1-based index) of the active tree.
Teodor Krastev
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | # Initialization of Spectrino
spnNew()
# generate test set
spnOpenTree("<test>")
# set third group to be active
spnActTree(1)
# get the number of active group
i <- spnActGrp(0)
# Release of Spectrino
#spnFree(TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.