spnGetSpcCount: Number of spectra in Grp spec-group

Description Usage Arguments Value Author(s) See Also Examples

Description

Counts the number of specs in Grp group.

Usage

1
spnGetSpcCount(OnlyChecked,Grp)

Arguments

OnlyChecked

- logical; if true gets only the checked specs

Grp

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

Value

spnGetSpcCount returns number of specs in Grp group.

Author(s)

Teodor Krastev

See Also

spnGetGrpCount

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
# Initialization of Spectrino
spnNew() 

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

# the number of the checked specs in second group
i1 <- spnGetSpcCount(TRUE,2) 

# the number of specs in the active group
i2 <- spnGetSpcCount(FALSE,0)

# the number of specs in "Test3" group
i3 <- spnGetSpcCount(FALSE,"Test3")

# Release of Spectrino
spnFree(TRUE)


Search within the spectrino package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.