knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of SampleR is to provide tools to understand human performance from the perspective of sampling, both looking at how people generate samples and how people use the samples they have generated. A longer overview and other resources can be found at sampling.warwick.ac.uk
You can install the released version of SampleR from Github with:
devtools::install_github("lucas-castillo/SampleR")
SampleR provides tools to generate samples following particular algorithms
library(SampleR) set.seed(0118999) distribution <- distr::Norm() chain <- sampler_mcmc(pdf = make_distr_pdf(distribution), start = 0, sigma_prop = .5) print(chain[[1]][1:20])
As well as tools to diagnose the patterns both from samplers and participants:
plot_qqplot(chain[[1]], change = TRUE) plot_series(chain[[1]])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.