mwst2
is the companion R analysis package for Irvine et al.'s manuscript
When Do Mountain Whitefish (Prosopium williamsoni) Spawn? A Comparison of Estimates Based on Gonadosomatic Indices and Spawner and Egg Counts.
To use the mwst2
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") # if not already installed
devtools::install_github("poissonconsulting/mwst2")
library(mwst2)
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.
Please note that the mwst2 project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.