| plot_fit | R Documentation |
Plots observed and predicted gas production values for an individual bottle.
plot_fit(fit, head = NULL)
fit |
A fitted model object. |
head |
Optional Head identifier. If omitted and only one bottle is present, that bottle is plotted automatically. |
Observed measurements are displayed alongside the fitted model curve, allowing visual assessment of model performance.
This visualization is useful for:
Evaluating model fit
Identifying systematic deviations
Inspecting individual fermentation profiles
Comparing observed and predicted values
A ggplot2 object.
plot_all_fits,
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 a specific bottle
plot_fit(
fit,
head = 1
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.