Learn R Programming

spectrino (version 2.0.0)

spnActGrp: Get/Set active group in the top tab

Description

Get/Set active group to Grp in the top tab. if Grp=0 only get active group index; else set one

Usage

spnActGrp(Grp)

Arguments

Grp

- the name(character string) or the index(integer) of the group; if 0 - just gets the active group index.

Value

spnActGrp returns the index (1-based index) of the active group.

See Also

spnSetSpcChecked

Examples

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

# get the number of active group
i <- spnActGrp(0) 

# Release of Spectrino
#spnFree(TRUE)
# }

Run the code above in your browser using DataLab