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

getResponseType

Get the "response.type" attribute


Description

Function to read the "response.type" attribute of an existing response_spct object.

Usage

getResponseType(x)

Arguments

x

a response_spct object

Details

Objects of class response_spct() can contain data for a response spectrum or an action spectrum. Response spectra are measured using the same photon (or energy) irradiance at each wavelength. Action spectra are derived from dose response curves at each wavelength, and responsivity at each wavelength is expressed as the reciprocal of the photon fluence required to obtain a fixed level of response.

Value

character string

Note

If x is not a response_spct object, NA is returned.

Examples

getResponseType(ccd.spct)
getResponseType(sun.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.