Models Spatially Continuous and Discrete Population Genetic Structure

A method for modeling genetic data as a combination of discrete layers, within each of which relatedness may decay continuously with geographic distance. This package contains code for running analyses (which are implemented in the modeling language 'rstan') and visualizing and interpreting output. See the paper for more details on the model and its utility.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("conStruct")

1.0.7 by Gideon Bradburd, 2 months ago


Browse source code at https://github.com/cran/conStruct


Authors: Gideon Bradburd [aut, cre]


Documentation:   PDF Manual  


GPL-3 license


Imports rstan, rstantools, caroline, gtools, foreach, parallel, doParallel

Depends on Rcpp, methods

Suggests knitr, rmarkdown, maps

Linking to StanHeaders, rstan, BH, Rcpp, RcppEigen, RcppParallel

System requirements: GNU make


See at CRAN