Description Usage Arguments Details Value Side Effects Author(s) References See Also Examples
View source: R/soakingmodels.R
An interactive function to fit nonlinear models for seed soaking kinetics.
1 | soakingmodels(moisture, time)
|
moisture |
a numeric vector containing values of seed water content or weight of seed sample. See Details. |
time |
a numeric vector containing values of soaking time. |
soakingmodels
is set to fit curves of water absorption (WA%) rather than moisture
. It is
automatically calculated through the equation:
WA = \frac{\code{moisture} - Mi}{Mi}
where Mi is the initial value of seed moisture
.
These are the currently available models:
(Peleg) WA = x/(k1 + k2 * x)
(Logistic) WA = a/(1 + exp(-b1 * (x - c1)))
(Logistic adapted) WA = a/(1 + exp(-b1 * (x - c1))) + exp(b2 * (x - c2))
(Peleg adapted) WA = x/(k1 + k2 * x) + exp(b2 * (x - c2))
where x represents time
and a, k1, k2, b1, b2, c1 and c2 are the model parameters.
Check da Silva et al. (2018) for more details and description of parameters.
An object of class nls
containing the parameter estimates.
An interactive graphic is displayed for selecting the model and the initial values for the parameters.
Anderson Rodrigo da Silva <anderson.silva@ifgoiano.edu.br>
da Silva, A. R. et al. (2018) Modeling the Three Phases of the Soaking Kinetics of Seeds. Agronomy Journal, 110:164-170. doi:10.2134/agronj2017.07.0373
1 2 3 4 5 6 7 | data(onionseeds)
if (interactive()) {
res <- with(onionseeds, soakingmodels(moisture = Weight, time = Time))
summary(res)
}
# End (not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.