spnDelSpc {spectrino} | R Documentation |
Delete Spc spectrum from Grp group in the top tab/spec-tree. If Spc="*" or "<ALL>" then delete all of the spectra in that group them.
spnDelSpc(Grp,Spc)
Grp |
- the name(character string) or the index(integer) of the group; 0 - active group. |
Spc |
- the name(character string) or the index(integer) of spec; 0 - selected spec; "*" or "<ALL>" - all specs. |
spnDelSpc
The function returns number of the spectra in that group after the deleting spnGetSpcCount(false,Grp)
Teodor Krastev
spnDelGrp
# Initialization of Spectrino spnNew() # generate test set spnOpenTree("<test>") # delete third spec from the first group # i1 - the number of specs after deleting i1 <- spnDelSpc(1,3) # delete all the specs from the active group; spnDelSpc(0,"*") # Release of Spectrino spnFree(TRUE)