Description Usage Arguments Details Value Side Effects Author(s) See Also Examples
An interactive function to fit nonlinear models for seed drying kinetics.
1 | dryingmodels(moisture, time)
|
moisture |
a numeric vector containing values of seed water content of weight of seed sample. See Details. |
time |
a numeric vector containing values of drying time. |
dryingmodels
is set to fit curves of moisture ratio (MR) rather than moisture
. It is
automatically calculated through the equation:
MR = \frac{\code{moisture} - Mf}{Mi - Mf}
where Mi and Mf are the initial and final values of seed moisture
.
These are the currently available models:
(Page) MR = exp(-K * x^n)
(Henderson and Pabis) MR = A * exp(-K * x)
(Henderson and Pabis modified) MR = A * exp(-K * x) + b * exp(-K0 * x) + exp(-K1 * x)
(Midilli) MR = A * exp(-K * x^n) + b*x
(Diffusion approximation) MR = A * exp(-K * x) + (1 - A) * exp(-K * b * x)
(Two terms exponential 1) MR = A * exp(-K0 * x) + b * exp(-K1 * x)
(Two terms exponential 2) MR = A * exp(-K * x) + (1 - A) * exp(-K * A * x)
(Logarithmic) MR = A * exp(-K * x) + b
(Thompson) MR = exp(-A - sqrt(A^2 + 4 * b * x))/(2 * b)
(Newton) MR = exp(-K * x)
(Verma) MR = A * exp(-K * x) + (1 - A) * exp(-K1 * x)
(Wang and Sing) MR = 1 + A * x + b * x^2
where x represents time
and A, K, n, b, K0 and K1 are the model 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>
1 2 3 4 5 6 7 | data(waterloss)
if (interactive()) {
res <- with(waterloss, dryingmodels(moisture = WaterContent, 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.