This method stacks two or more Spectra* objects together.
rbind.Spectra(..., create_new_ids = FALSE, new_ids = NULL)
rbind.SpectraDataFrame(..., create_new_ids = FALSE, new_ids = NULL)
The Spectra objects to be combined.
allows creation of new ids if the ids of the Spectra* objects you are trying to stack are redondant
vector of new ids to be given to the new object
a Spectra* object.
# Loading example data
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)
Questions? Problems? Suggestions? Tweet to @rdrrHQian@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.