Installing the wiqid package
|Back to home page||
The wiqid package for R
statistical software provides Quick and Dirty functions for the
analysis of Wildlife data.|
There is an introduction to wiqid here. The package is still getting major changes, meaning that your old scripts may not work with new versions of wiqid.
Some of the simpler Bayesian MCMC functions in wiqid are coded in R, others use JAGS and the rjags package.
wiqid is now on CRAN !
You can now install wiqid and the packages it requires from within R with the command install.packages("wiqid"). You can also go to the Packages > Install package(s)... menu item and select wiqid from the pop-up list, but with more than 9,000 packages on the list, I find typing easier.
After installing wiqid
For full functionality, you will need to have JAGS installed, as well as the rjags, secr and shiny packages.
1. JAGS: If you are using Mac or Ubuntu, check out the notes here or here. Go to the JAGS download page. A link at the top of the page gives you the latest installer; on Windows, this takes you to an HTML page with a choice of installers, depending on the version of R you are using. Install in the default directory.
JAGS 4 was released in October 2015; to use JAGS 4 you need version of rjags_4-4 or later. Or you can continue to use the old rjags_3-x version with JAGS 3.
2. rjags: Once you have installed JAGS, you can install the rjags package in R with
Check that it has been installed correctly and can link to JAGS by doing
3. secr and shiny: You can install these in R with
Both these packages depend on a number of other packages, and
they will also be downloaded automatically.
In 0.1.0: On CRAN. New functions dt2, pt2, qt2 and rt2, wrappers for the dt family which allow specification of mean and SD. Optional checking of capture history in occ* functions with verify argument.
In 0.0.396: Bayesian functions speeded up and argument names standardized; dependence on other packages reduced; experimental WAIC added to BoccSS (not fully tested!). wiqid_0.0.396.zip (373 KB), wiqid_0.0.396.tar.gz (194 KB)
In 0.0.384: added Bregress and Blogit (wrappers for MCMCpack functions); survCJS and BsurvCJS gain a group argument; probit link option in occSS* functions; BoccSS runs in parallel. wiqid_0.0.384.zip (356 KB), wiqid_0.0.384.tar.gz (185 KB)
| Updated 2 Oct 2016
by Mike Meredith|