Version 0.2.5 has no changes in functionality already available in version 0.2.4. The new versio adds a new “waveband” and related functions for the BSWF for methane production from pectin of McLeod et al. (2008).
I started using a package called data.table just yesterday. I re-wrote the whole of the MayaCalc package to use data.table instead of data.frame. Got it working in a few hours. Syntax is clearer and very concise. As a bonus everything should execute much faster (x10 to x30). I will time MayaCalc today after checking that the results are o.k.
Documentation for data.table is a bit terse, I will write some examples here in a few days’ time.
Be aware though that the semantics is really different when used as an argument to a function. If you use the := operator you achieve the equivalent of passing the data.table argument by REFERENCE rather than the normal R convention of passing all arguments by COPY. This is much faster for large data tables as copying is avoided, but you should be careful even if you understand the difference between these two semantics. If you don’t, do not use data.table before you fully understand the difference and all its implications.
Mainly speed optimizations, but a couple of functions acquired additional parameters and functionality. All changes are backward compatible.
photobiologyVis (Version 0.1.3)
Modified the wabeband definitions to allow caching of multipliers. No changes to results but a significant speed increase for repeated computations.
photobiologyUV (Version 0.2.4)
Very small changes for consistency of interface. Now all waveband definition functions have a std parameter (even those with only one possible value for it, and have a default value). Changes are backwards compatible.
As usual packages can be downloaded from Buitbucket