Learn R Programming

geoSpectral (version 0.17.5)

spc.rbind: Combine Spectra Objects by Rows

Description

Take a Spectra objects and combine by rows

Usage

spc.rbind(...)

# S4 method for Spectra spc.rbind(..., compressHeader = TRUE)

Arguments

...

Spectra object

compressHeader

Compress the header (make multiple all-equal header elements as ONE, default value is TRUE

Value

Spectra object

Examples

Run this code
# NOT RUN {
x <- spc.example_spectra()
nrow(x)  #[1] 26
x2=spc.rbind(x,x)
nrow(x2)  #[1] 52

# }

Run the code above in your browser using DataLab