stability-deprecated DOI

Kootenay Lake Exploitation Analysis

klexr is the companion R analysis package for Thorley et al.'s manuscript The Fishing and Natural Mortality of Large Piscivorous Bull Trout and Rainbow Trout in Kootenay Lake, British Columbia (2008-2014).


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

Then execute the following code at the R terminal:

install.packages("devtools") # if not already installed


To quickly replicate the results with unreliable model estimates use:


This option is useful for testing everything is installed correctly.

To replicate the results with reliable model estimates use:



For more information type ?replicate_results after loading the package.


The project was primarily funded by the Habitat Conservation Trust Foundation.

The Habitat Conservation Trust Foundation was created by an act of the legislature to preserve, restore and enhance key areas of habitat for fish and wildlife throughout British Columbia. Anglers, hunters, trappers and guides contribute to the projects of the Foundation through licence surcharges. Tax deductible donations to assist in the work of the Foundation are also welcomed.

poissonconsulting/klexr documentation built on May 25, 2019, 10:25 a.m.