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)
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.