This update concerns mainly methods
fscale() and the use of attributes to keep a history of these transformations. Some of the reporting enhancements are not operational for objects normalized and re-scaled with previous versions of this package, while all earlier features remain available.
Changes from version 0.10.9 the most recent CRAN release, are:
normalize()methods to support updating an already present normalization (
norm = "update") and skipping the normalization altogether (
norm = "skip").
normalize()methods to store
rangein the attribute, and
getNormalized()to return it.
normalize()methods to better handle normalization of previously normalized spectra, and add flexibility to the normalization of previously scaled spectra.
getScaling()and fix minor inconsistency in value returned by
- Fix bug in
getNormalization()(wrong named member in returned value from spectra with no normalization data).
- Fix bug resulting in
"normalization"attribute not being copied.
- Fix bug resulting in not all relevant attributes being copied to the value returned by
- Improve printing of metadata for normalization and rescaling.
- Fix bug in
shared_member_class()(wrong value returned for empty collections).
smooth_spct()to handle bad arguments passed to
methodwithout crashing and add support for skipping smoothing (
method = "skip").
NOTE: Version 0.10.10 is on its way to CRAN.
Please raise issues concerning bugs or enhancements to this package through GitHub at https://github.com/aphalo/photobiology/issues