Skip to contents

Data

attrition_experiment
Simulated experiment encountering attrition
blocked_experiment
Simulated block-randomized experiment
clustered_experiment
Simulated cluster-randomized experiment
continuous_interaction
Simulated experiment whose effect varies with a continuous covariate
covariate_adjustment
Simulated experiment with a pretreatment covariate
noncompliance_experiment
Simulated experiment with two-sided noncompliance
patriot_act
Original and Replication data for the Patriot Act experiment described in Persuasion in Parallel
two_arm_trial
Simulated two-arm trial

Functions

impute_extreme_values()
Impute the extreme value bounds for an outcome with attrition
position_bluenoise()
Scatter over-plotted points evenly at random
position_bluenoisedodge()
Scatter over-plotted points evenly at random and dodge groups side-to-side
position_circlepack()
Arrange over-plotted points with a circle-packing algorithm
position_circlepackdodge()
Arrange over-plotted points with a circle-packing algorithm and dodge groups side-to-side
position_honeycomb()
Arrange over-plotted points on a honeycomb lattice
position_honeycombdodge()
Arrange over-plotted points on a honeycomb lattice and dodge groups side-to-side
position_jitter_ellipse()
Jitter points on an ellipse to avoid over-plotting
position_jitterdodge_ellipse()
Jitter points on an ellipse and dodge groups side-to-side
position_sunflower()
Arrange over-plotted points in a sunflower pattern
position_sunflowerdodge()
Arrange over-plotted points in a sunflower pattern and dodge groups side-to-side
sunflower()
Distribute points using a sunflower seed algorithm

Package

vayr-package vayr
Extensions for 'ggplot2' to Visualize as You Randomize