View source: R/sedrate_gen_helpers.R
| sed_rate_gen_gamma | R Documentation |
generates a function factory for usage with sedrate_to_multiadm. At h[i],
the sedimentation rate is given by a gamma distribution with parameters
shapes[i] and rates[i]. Between those values, sedimentation rate is linearly interpolated
Outside of the range of h, behavior is determined by the argument rule
which is passed to approxfun. See there for details.
sed_rate_gen_gamma(h, shapes, rates, rule = 1)
h |
heights at which sedimentation rate is determined |
shapes |
shape parameters for the gamma distribution |
rates |
rate parameter for the gamma distribution |
rule |
an integer of length 1 or 2, see description for details |
a function factory for usage with sedrate_to_multiadm
sedrate_to_multiadm() for estimating age-depth models using the outputs
sed_rate_from_matrix() for other means of defining sedimentation rates
sed_rate_gen_from_bounds() for sed. rate generator based on bounds on sedimentation rates.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.