knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "README-"
)

The Diet Package

The diet package visualises and analyses fish diet data

Installation

You can install a development version of the diet package from GitHub

# install.packages("devtools")
devtools::install_github(repo = "pkuhnert/diet", build_vignettes = TRUE, force = TRUE)

Authors

Petra Kuhnert, CSIRO Data61 Australia, Email: Petra.Kuhnert@data61.csiro.au

Leanne Duffy, IATTC USA, Email: lduffy@iattc.org

About the Package

This package performs an analysis of diet data using the methods outlined in Kuhnert et al. (2012)

Examples

A vignette for the diet package is available and contains examples relating to each of the visualisation methods.

vignette("diet")

License

The package diet version 1.0.0 is free and open source software, licensed under GPL (>=2)

References

Kuhnert, P.M., Duffy, L., Young, J., Olson, R. (2012) Predicting fish diet composition using a bagged classification tree approach: A case study using yellowfin tuna (Thunnus albacares), Marine Biology, 159, 87-100.



pkuhnert/diet documentation built on June 10, 2025, 2:59 a.m.