| fit_orskov | R Documentation |
Fits the Orskov and McDonald gas-production model to each bottle in a rumen_gp dataset.
fit_orskov(data, start = NULL)
data |
A rumen_gp object. |
start |
Optional list of starting values. May contain any of:
|
V(t)
=
VF
+
b
\left(
1-e^{-kt}
\right)
where:
V(t) is cumulative gas production at time t
VF is the intercept (initial gas volume)
b is the fermentable fraction
k is the fractional rate constant
The Orskov and McDonald model partitions gas production into:
An intercept term (VF)
A fermentable fraction (b)
The asymptotic gas production is:
VF + b
The parameter k controls the rate at which
the asymptote is approached.
Widely used in ruminant nutrition research
Parameters have straightforward biological interpretation
Stable convergence
Useful benchmark model for comparison
No explicit lag parameter
Limited flexibility for highly sigmoidal fermentation profiles
Less adaptable than Gompertz, Groot, or Dual Logistic models
An orskov_fit object containing:
Parameter estimates
Model diagnostics
Predicted values
Residuals
files <- example_data()
raw_data <- read_ankom(
files$ankom
)
metadata <- read_metadata(
files$metadata
)
gp <- process_ankom(
raw_data,
metadata,
headspace_ml = 210,
temperature_c = 39
)
# Fit using package default starting values
fit_default <- fit_orskov(
gp
)
summary(fit_default)
# Fit using custom starting values
fit_custom_start <- fit_orskov(
gp,
start = list(
VF = 5,
b = 120,
k = 0.05
)
)
summary(fit_custom_start)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.