Description Usage Arguments Value Author(s) See Also Examples
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.
| 1 | 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
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | # 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)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.