Repository for package accompanying paper "Explaining Recruitment to Extremism: A Bayesian Hierarchical Case-Control Approach."
The goal of this package is to make it easy for the user to:
data.prep()
)fit()
)You can begin using the package by loading into memory using:
devtools::install_github("cjbarrie/extremeR")
library(extremeR)
There are two principal extremeR
functions.
data.prep()
, which allows the user to bundle the main relevant data source (case-control data and shapefile data) into a list object for estimation.fit()
, which allows the user to estimate models described in the associated article, and to specify hierarchical structure, priors, contamination layer etc.Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.