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

DOI

Loch Rannoch Ferox Trout Mark-Recapture Analysis

ranmr is the companion R analysis package for Thorne et al.'s manuscript The Low Abundance and High Catchability of Large Piscivorous Ferox Trout (Salmo trutta) in Loch Rannoch, Scotland.

Installation

To use the ranmr package first install R (version 3.2.2 or greater) and JAGS (version 3.4.0 or greater).

Then execute the following code at the R terminal:

install.packages("devtools")
library(devtools)

install_github("poissonconsulting/tulip@v0.0.13")
install_github("poissonconsulting/datalist@v0.5.0")
install_github("poissonconsulting/juggler@v0.1.5")
install_github("poissonconsulting/jaggernaut@v2.3.2")

install_github("poissonconsulting/ranmrdata")
install_github("poissonconsulting/ranmr")

library(ranmr)

Replication

To quickly replicate the results with unreliable model estimates use:

replicate_results()

This option is useful for testing everything is installed correctly.

To replicate the results with reliable model estimates use:

replicate_results("report")

To replicate the results with the same settings as the manuscript use:

replicate_results("paper", res = 900)

Information

For more information type ?replicate_results after loading the package.



poissonconsulting/ranmr documentation built on May 25, 2019, 11:21 a.m.