Learn R Programming

hsdar (version 0.5.1)

merge: Merge speclibs

Description

Merge 2 Speclibs and their attributes data

Usage

"merge"(x, y, ...)

Arguments

x
1st Object of class Speclib to be merged.
y
2nd Object of class Speclib to be merged.
...
Further arguments passed to generic functions. Currently ignored.

Value

Object of class Speclib.

See Also

Speclib

Examples

Run this code
data(spectral_data)
sp1 <- spectral_data[c(1:10),]
sp2 <- spectral_data[c(11:20),]

speclib_merged <- merge(sp1, sp2)

Run the code above in your browser using DataLab