Description Usage Arguments Value
View source: R/hansen_broken_stick.R
Continuous version modified from Hansen et al. (2013, 2015)
1 2 3 4 5 6 7 8 9 10 11 12 13 | hansen_broken_stick(
rr,
Eb,
cc,
vv,
ww,
yy,
Eb.break,
cc.break,
rr.max,
sigma.rr = NULL,
fit = TRUE
)
|
rr |
Observed reaction distance |
Eb |
Light intensity |
cc |
Effective attenuation coefficient, beam attenuation coefficient, or NTU |
vv |
Light function intercept |
ww |
Light function slope |
yy |
Turbidity function slope |
Eb.break |
Saturation intensity threshold for light |
cc.break |
Minimum turbidity threshold |
rr.max |
Maximum reaction distance |
sigma.rr |
Standard deviation of reaction distance |
fit |
Use the model in fitting mode? |
If fit == TRUE, returns the negative log likelihood. Otherwise, returns a list containing model parameters, negative log-likelihood, and fitted reaction distances.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.