merge | R Documentation |
Merge two Speclib
s and their SI data
## S4 method for signature 'Speclib,Speclib' merge(x, y, ...)
x |
1st Object of class |
y |
2nd Object of class |
... |
Further (optional) objects of class |
Object of class Speclib
.
Lukas Lehnert
Speclib
data(spectral_data) sp1 <- spectral_data[c(1:10),] sp2 <- spectral_data[c(11:20),] ## Merge two Speclibs speclib_merged_1 <- merge(sp1, sp2) nspectra(speclib_merged_1) ## Merge multiple Speclibs sp3 <- spectral_data[c(21:30),] speclib_merged_2 <- merge(sp1, sp2, sp3) nspectra(speclib_merged_2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.