Updates

photobiology 0.6.8

Functions sunrise_time(), noon_time(), sunset_time(), day_length(),night_length()andday_night()gain formal parameter‘unit.out’`,
but its default value preserves earlier behaviour.

New generic functions peaks() and valleys().

subset() methods for spectral objects gain a new parameter 'idx'. (This a workaround until a way of wrapping [ operator from data.table is found.) During subsetting, tags are removed from the returned spectrum.

Functions is.photon_based(), is.energy_based(), is.absorbance_based() and is.transmittance_based() have been renamed by replacing the dot with an underscore for consistency with other functions not test for object class.

Fixed bug in trim_waveband().

photobiologygg 0.3.4

annotate_plot() now passes arguments 'angle', 'hjust' and 'vjust' to annotate_waveband() in the case of labels.

NOTE: Sources, and Windows binaries for R 3.1.x and R 3.2.x, are now available in the repository.

Leave a Reply

Your email address will not be published. Required fields are marked *