Learn R Programming

spectrino (version 2.0.0)

spnDelTree: Delete a tree / tab

Description

Delete a tree(s) from spec side. If Tree="<ALL>" then delete all of the trees.

Usage

spnDelTree(Tree)

Arguments

Tree

- the name(character string) or the index(integer) of the tree; 0 - active tree; "<ALL>" - all trees.

Value

spnDelTree returns the number of trees after the deleting.

See Also

spnDelGrp

Examples

Run this code
# NOT RUN {
# Initialization of Spectrino
spnNew() 

# generate test set
spnOpenTree("<test>")

# delete active tree / tab
spnDelTree(0)

# Release of Spectrino
#spnFree(TRUE)
# }

Run the code above in your browser using DataLab