R: Set the "multiple.wl" attribute

setMultipleWl {photobiology} | R Documentation

## Set the "multiple.wl" attribute

### Description

Function to set by reference the "multiple.wl" attribute of an existing generic_spct or an object of a class derived from generic_spct.

### Usage

    setMultipleWl(x, multiple.wl = NULL)

### Arguments

`x` | a generic_spct object
`multiple.wl` | numeric >= 1 If `multiple.wl` is `NULL`, the default, the attribute is not modified if it is already present and valid, and set to 1 otherwise.

### Value

x

### Note

This function alters x itself by reference and in addition returns x invisibly. If x is not a generic_spct or an object of a class derived from generic_spct, x is not modified. If `multiple.wl`

### See Also

Other multiple.wl attribute functions: `getMultipleWl`

[Package photobiology version 0.9.21 Index]