Learn R Programming

spectrino (version 2.0.0)

spnGetGrpName: Get the group name by index in the top tab/spec-tree

Description

Get the group name with an index GrpIdx in the top tab/spec-tree

Usage

spnGetGrpName(GrpIdx)

Arguments

GrpIdx

- the index(integer) of the spec-group in the top tab/spec-tree. Use GrpIdx=0 for active group. If GrpIdx="*" or "<ALL>" gets back a comma-separated list of all groups names.

Value

spnGetSpcCount returns name(character string) of spec-group with GrpIdx index.

See Also

spnGetSpcName

Examples

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

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

# the name of second spec-group
s1 <- spnGetGrpName(2) 

# the name of the active group
s2 <- spnGetGrpName(0)

# Release of Spectrino
#spnFree(TRUE)
# }

Run the code above in your browser using DataLab