Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

setWhatMeasured

Set the "what.measured" attribute


Description

Function to set by reference the "what.measured" attribute of an existing generic_spct or derived-class object.

Usage

setWhatMeasured(x, what.measured)

what_measured(x) <- value

Arguments

x

a generic_spct object

what.measured, value

a list

Value

x

Note

This function alters x itself by reference and in addition returns x invisibly. If x is not a generic_spct object, x is not modified.

See Also

Examples

my.spct <- sun.spct
what_measured(my.spct)
what_measured(my.spct) <- "Sun"
what_measured(my.spct)

photobiology

Photobiological Calculations

v0.10.10
GPL (>= 2)
Authors
Pedro J. Aphalo [aut, cre] (<https://orcid.org/0000-0003-3385-972X>), Titta K. Kotilainen [ctb] (<https://orcid.org/0000-0002-2822-9734>), Glenn Davis [ctb], Agnese Fazio [ctb]
Initial release
2022-03-24

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.