Releases: nicholascarey/respfun
Releases · nicholascarey/respfun
Startup message
Very minor update
- A startup message is now shown on package load
Minor update
Minor update
split_rate
now accepts multiple input rates, including fromconvert_rate
objects. These should obviously all be rates from the same group. Minor change to output object as a result:$indiv.rates
is now alist
object with each element a vector of individual rates for the associated group rate intR
. Extract via$indiv.rates[[1]]
etc.
Minor update
Minor update
split_rate
now accepts multiple input rates, including fromconvert_rate
objects. These should obviously all be rates from the same group. Minor change to output object as a result:$indiv.rates
is now alist
object with each element a vector of individual rates for the associated group rate intR
. Extract via$indiv.rates[[1]]
etc.
Another minor patch
Another minor fix to scale_rate
.
- The
scale_rate
function now properly extracts all rates fromrespR::convert_rate
objects, not just the first one.
Bug Fixes
This patch fixes a major issue in eff_vol
. All previous versions of this function returned incorrect results at anything other than neutral buoyancy (multiplication instead of division in the mass & density to volume equation, doh!).
MAJOR FIX: fix for incorrect results returned by eff_vol
. If you have used this function previously, please review your code and results.
FIX: spec_density
: warning when wet_mass
and buoy_mass
are equal (leads to infinite density calculation)
New flush_time function
- new
flush_time
function. This function calculates the time taken to flush a respirometer with new water. scale_rate
now acceptsrespR::convert_rate
objects and automatically extracts the rate.
New functions: `scale_rate` and `q_ten`
Changes:
- Two new functions
scale_rate
andq_ten
- Removed use of custom classes from functions which output a single numeric value (i.e. all except
split_rate
) as it messes with subsequent calculations (i.e. you needed toas.numeric()
them)
Three new functions
Three new functions added:
eff_vol
spec_density
wm_to_vol