View source: R/plot_all_fits.R
| plot_all_fits | R Documentation |
Displays observed and predicted gas production values for all bottles in a fitted model.
plot_all_fits(fit)
fit |
A fitted model object produced by one of the rumenGP model-fitting functions. |
Each panel corresponds to a single bottle and shows:
Observed gas production values
Model predictions
This plot is useful for quickly evaluating model performance across all bottles in a dataset.
A ggplot2 object.
plot_fit,
plot_residuals,
fit_groot
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 <- fit_groot(
gp
)
plot_all_fits(
fit
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.