| rbind | R Documentation | 
Spectra objects togetherThis method stacks two or more Spectra* objects together.
## S3 method for class 'Spectra'
rbind(..., create_new_ids = FALSE, new_ids = NULL)
## S3 method for class 'SpectraDataFrame'
rbind(..., create_new_ids = FALSE, new_ids = NULL)
| ... | The  | 
| create_new_ids | allows creation of new ids if the ids of the
 | 
| new_ids | vector of new ids to be given to the new object | 
a Spectra* object.
# Loading example data
data(australia)
spectra(australia) <- sr_no ~ ... ~ 350:2500
s <- rbind(australia, australia, create_new_ids = TRUE)
l <- separate(australia, calibration = 0.6)
s <- rbind(l$validation, l$calibration)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.