Skip to contents

Data Import

example_data()
Example ANKOM Data
read_ankom()
Import ANKOM RF Output
read_metadata()
Import Metadata
parse_ankom_time()
Parse ANKOM Timestamps
process_ankom()
Process ANKOM RF Data
pressure_to_volume()
Convert Pressure to Gas Volume
as_rumen_gp()
Convert data to a rumen_gp object
validate_ankom()
Validate Processed Rumen Gas Production Data
validate_metadata()
Validate Metadata

Model Fitting

fit_brody()
Fit Brody model
fit_dual_logistic()
Fit dual-pool logistic model
fit_exp0()
Fit exponential model without lag (EXP0)
fit_expl()
Fit exponential model with lag (EXPL)
fit_gompertz()
Fit Gompertz model
fit_groot()
Fit Groot model
fit_le0()
Fit Logistic-Exponential model (LE0)
fit_lel()
Fit Logistic-Exponential model (LEL)
fit_logistic()
Fit Logistic model
fit_mitscherlich()
Fit Mitscherlich model
fit_mm()
Fit Michaelis-Menten model
fit_orskov()
Fit Orskov and McDonald model
fit_custom()
Fit Custom Nonlinear Model

Model Comparison

compare_models()
Compare Fitted Kinetic Models
compare_models_by_treatment()
Compare Models by Treatment
rank_models()
Rank Models
rank_models_by_treatment()
Rank Models Within Each Treatment
best_model_by_treatment()
Identify the Best Model for Each Treatment
model_win_frequency()
Model Win Frequency

Diagnostics and Quality Control

flag_model()
Flag potentially problematic model fits
exclude_heads()
Exclude Problematic ANKOM Heads

Visualization

plot_gp()
Plot Raw Gas Production Curve
plot_fit()
Plot Fitted Model
plot_residuals()
Plot Model Residuals
plot_treatment_mean()
Plot Treatment Means Across Models
plot_model_comparison()
Compare Model Fits
plot_model_rankings()
Plot Model Rankings

Advanced Visualization

plot_all_fits()
Plot All Fitted Curves
plot_all_treatment_means()
Plot Treatment Means for All Treatments
plot_diagnostics()
Plot Diagnostic Summaries
plot_dual_pools()
Plot Dual-Pool Logistic Decomposition
plot_model_comparison_all()
Compare Models for All Bottles
plot_model_comparison_treatment()
Compare Models for a Treatment
plot_model_performance()
Plot Model Performance
plot_residual_comparison()
Compare Residuals Across Models

Summary Methods

summary(<brody_fit>)
Summary of Brody Fits
summary(<custom_fit>)
Summary of Custom Model Fits
summary(<dual_logistic_fit>)
Summary of Dual Logistic Fits
summary(<exp0_fit>)
Summary of EXP0 Fits
summary(<expl_fit>)
Summary of EXPL Fits
summary(<gompertz_fit>)
Summary of Gompertz Fits
summary(<groot_fit>)
Summary of Groot Fits
summary(<le0_fit>)
Summary of LE0 Fits
summary(<lel_fit>)
Summary of LEL Fits
summary(<logistic_fit>)
Summary of Logistic Fits
summary(<mitscherlich_fit>)
Summary of Mitscherlich Fits
summary(<mm_fit>)
Summary of Michaelis-Menten Fits
summary(<orskov_fit>)
Summary of Orskov and McDonald Fits