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
devtools::install_github("poissonconsulting/klexr")
library(klexr)
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")
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.