Package documentation web site at: https://docs.r4photobiology.info/photobiology/
This update adds a new attribute to objects of class response_spct
to enable storage of metadata to distinguish action spectra from response spectra. All other changes are tweaks to make use easier or are minor bug fixes, which do not add important new functionality.
Changes from version 0.10.4 the most recent CRAN release, are:
New
- Implement attribute
"response.type"
to distinguish between response spectra and action spectra stored inresponse_spct
objects. - Add methods
setResponseType()
andgetResponseType()
. - Add method
drop_user_cols()
to remove user-defined columns from spectra. - Add method
collect2mspct()
and rename methoduncollect()
intouncollect2spct()
. - Add convenience function
spct_metadata()
to query the value of metadata attributes. - Revise
add_attr2tb()
expanding support to all metadata attributes. - Revise
smooth_spct()
methods adding new parameterwl.range
. - Revise
compare_spct()
function to accept scaled and normalized spectra with a warning (instead of triggering an error).
Fixed
- Make the pre-computed color data private.
- Revise
rbindspct()
to gracefully handle duplicate member names in its input. - Revise
smooth_spct()
methods to fix bug in handling of strength in"custom"
method.
NOTE: The updated package is on its way to CRAN.
Please raise issues concerning bugs or enhancements to this package through Bitbucket https://bitbucket.org/aphalo/photobiology/issues