Return subsets of
Speclibs which meet conditions.
Object of class 'Speclib'.
Logical expression indicating spectra to keep: missing values are taken as false. See details section.
Further arguments passed to
Matchable objects are SI data. Use column names to identify the respective SI. See
SI to access SI of a
Speclib. IDs of spectra may be accessed using "id.speclib" as variable name. To subset certain wavelength ranges of a
Speclib refer to
Object of class
1 2 3 4 5 6 7 8 9 10 11 12
data(spectral_data) ## Return names of SI data names(SI(spectral_data)) ## Devide into both seasons sp_summer <- subset(spectral_data, season == "summer") sp_spring <- subset(spectral_data, season == "spring") ## Plot both speclibs plot(sp_summer, col="darkgreen") plot(sp_spring, col="darkred", new=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.