spnGetTree {spectrino} | R Documentation |
Get spectra from all the groups of the top tab/spec-tree. Only the checked ones or all of them. Variables are by columns; measurements are by rows. The reason is "prcomp" principal component analysis accepts that order of data.
Excluding the spectra from a group called "unknowns". That protected name is supposed to be for testing purposes only, so the data from that group are not included in all-data-get command.
spnGetTree(OnlyChecked)
OnlyChecked |
- logical; if true gets only the checked specs |
spnGetTree
returns the matrix of specs from all the groups.
Teodor Krastev
spnGetSpc , spnGetGrp, spnGetRefer
# Initialization of Spectrino spnNew() # generate test set spnOpenTree("<test>") # all the specs from all the groups (excluding "unknowns" group, if any) m1 <- spnGetTree(FALSE) # Release of Spectrino spnFree(TRUE)