example_data: Example ANKOM Data

View source: R/example_data.R

example_dataR Documentation

Example ANKOM Data

Description

Returns paths to example files included with the package.

Usage

example_data()

Details

The example dataset can be used to explore package functionality, reproduce examples, and learn rumenGP workflows without requiring external files.

The returned object includes:

  • Example ANKOM RF data

  • Example metadata

These files are used throughout the package documentation, examples, and vignettes.

Value

A named list containing file paths to package example data.

See Also

read_ankom, read_metadata, process_ankom, fit_groot

Examples


files <- example_data()

files

raw_data <- read_ankom(
  files$ankom
)

metadata <- read_metadata(
  files$metadata
)

gp <- process_ankom(
  raw_data,
  metadata,
  headspace_ml = 210,
  temperature_c = 39
)

head(
  gp
)

fit <- fit_groot(
  gp
)

summary(
  fit
)


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