Skip to contents

Combine two or more generic_mspct objects into a single object.

Usage

# S3 method for class 'generic_mspct'
c(..., recursive = FALSE, ncol = 1, byrow = FALSE)

Arguments

...

one or more generic_mspct objects to combine.

recursive

logical ignored as nesting of collections of spectra is not supported.

ncol

numeric Virtual number of columns

byrow

logical When object has two dimensions, how to map member objects to columns and rows.

Value

A collection of spectra object belonging to the most derived class shared among the combined objects.