spnActGrp {spectrino}R Documentation

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.

Author(s)

Teodor Krastev

See Also

spnSetSpcChecked

Examples

# Initialization of Spectrino
spnNew() 

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

# set third group to be active
spnActGrp(3)

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

# Release of Spectrino
spnFree(TRUE)

[Package spectrino version 2.0.0 Index]