The goal of adapref is to allow adaptive preferential sampling in phylodynamics. It is a package to be used jointly with phylodyn and spmrf. Many of the functions of this package have been developed starting from the work done in these two packages. We acknowledge the developers for their work.
-
Install (if necessary) package dependencies and helpers:
devtools
,ape
,spmrf
,rstan
,loo
andphylodyn
. -
Load
devtools
usinglibrary(devtools)
. -
Install
adapref
using-
install_github("lorenzocapp/adapref")
, or -
install_github("lorenzocapp/adapref", build_vignettes = TRUE)
if you want some illustrative vignettes (note: usingbuild_vignettes = TRUE
will make the install take longer).
-
- Adaptive preferential sampling with simulated data: A short tutorial to describe the basics functioning of the package.
- L. Cappello, J.A. Palacios, Adaptive Preferential Sampling in Phylodynamics, soon in arxiv! 2020