View source: R/plot_model_comparison.R
| plot_model_comparison | R Documentation |
Displays observed gas production values together with predictions from multiple fitted models for a single bottle.
plot_model_comparison(..., head)
... |
Fitted model objects. |
head |
Head identifier. |
This visualization is useful for:
Comparing competing kinetic models
Evaluating model performance
Identifying differences among fitted curves
Assessing model agreement with observations
Observed measurements are displayed alongside predictions from each supplied model, allowing direct visual comparison.
A ggplot2 object.
compare_models,
plot_model_comparison_all,
plot_model_comparison_treatment,
fit_groot,
fit_gompertz
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
)
groot_fit <- fit_groot(
gp
)
gompertz_fit <- fit_gompertz(
gp
)
plot_model_comparison(
Groot = groot_fit,
Gompertz = gompertz_fit,
head = 1
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.