plot_model_comparison_all: Compare Models for All Bottles

View source: R/plot_model_comparison_all.R

plot_model_comparison_allR Documentation

Compare Models for All Bottles

Description

Displays observed and predicted gas production values for multiple fitted models across all bottles.

Usage

plot_model_comparison_all(...)

Arguments

...

Fitted model objects.

Details

Observed values are shown alongside model predictions, allowing visual comparison of competing kinetic models across the entire dataset.

This visualization is useful for:

  • Comparing model performance

  • Evaluating agreement between models

  • Identifying systematic deviations

  • Exploring treatment responses

Value

A ggplot2 object.

See Also

compare_models, plot_model_comparison, plot_model_comparison_treatment, fit_groot, fit_gompertz

Examples


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_all(
  Groot = groot_fit,
  Gompertz = gompertz_fit
)


rumenGP documentation built on Oct. 2, 2026, 5:09 p.m.