Skip to content

Dynamic simulation models for investigating the sustainability of pig industries

License

Notifications You must be signed in to change notification settings

cmgoold/pigsustainr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

Dynamic simulation models for investigating the sustainability of pig industries

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published