README.md

PigSustainR

Version 0.1. A work in progress!

PigSustainR is an R package for modelling the sustainability of pig industries. The main inspiration is the UK pig industry, driven by the University of Leeds' PigSustain project.

The package includes a number of pre-defined models, with more to be added. Performance is maximised by using pre-compiled models written in C++.

Installation

To install the package, use the devtools package:

devtools::install_github("cmgoold/pigsustainr")

Examples

PigSustainR has a number of example models. For instance:

fit <- pigsustainr::run_example_model(model_name="LogisticGrowth")
pigsustainr::stateplot(fit)
pigsustainr::pigsustainsens(fit)


cmgoold/pigsustainr documentation built on Jan. 2, 2022, 1:26 a.m.