generic_mspct: Collection-of-spectra constructor

Description Usage Arguments Functions Note Examples

View source: R/zmspct.classes.R

Description

Converts a list of spectral objects into a "multi spectrum" object by setting the class attibute of the list of spectra to the corresponding multi-spct class, check that components of the list belong to the expected class.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
generic_mspct(l = NULL, class = "generic_spct", ncol = 1, byrow = FALSE,
  dim = c(length(l)%/%ncol, ncol))

raw_mspct(l = NULL, ncol = 1, byrow = FALSE, ...)

cps_mspct(l = NULL, ncol = 1, byrow = FALSE, ...)

source_mspct(l = NULL, ncol = 1, byrow = FALSE, ...)

filter_mspct(l = NULL, ncol = 1, byrow = FALSE, ...)

reflector_mspct(l = NULL, ncol = 1, byrow = FALSE, ...)

object_mspct(l = NULL, ncol = 1, byrow = FALSE, ...)

response_mspct(l = NULL, ncol = 1, byrow = FALSE, ...)

chroma_mspct(l = NULL, ncol = 1, byrow = FALSE, ...)

Arguments

l

list of generic_spct or derived classes

class

character The multi spectrum object class or the expected class for the elements of l

ncol

integer Number of 'virtual' columns in data

byrow

logical If ncol > 1 how to read in the data

dim

integer Array of dimensions

...

ignored

Functions

Note

Setting class = source_spct or class = source_mspct makes no difference

Examples

1

photobiology documentation built on Aug. 27, 2017, 5:05 p.m.