Learn R Programming

⚠️There's a newer version (0.1.10) of this package.Take me there.

DesignLibrary (version 0.1.3)

Library of Research Designs

Description

A simple interface to build designs using the package 'DeclareDesign'. In one line of code, users can specify the parameters of individual designs and diagnose their properties. The designers can also be used to compare performance of a given design across a range of combinations of parameters, such as effect size, sample size, and assignment probabilities.

Copy Link

Version

Install

install.packages('DesignLibrary')

Monthly Downloads

1,951

Version

0.1.3

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Jasper Cooper

Last Published

May 2nd, 2019

Functions in DesignLibrary (0.1.3)

pretest_posttest_designer

Create a pretest-posttest design
two_arm_covariate_designer

Create a simple two arm design with a possibly prognostic covariate
str_within

Takes substring between matched strings. Avoids dependency on stringr package.
construct_design_code

Generates clean code string that reproduces design
cluster_sampling_designer

Create a design for cluster random sampling
sub_expr_text

Substitute text from expressions in design code
randomized_response_designer

Create a randomized response design
code_fixer

Substitute approach
factorial_designer

Create a factorial design
binary_iv_designer

Create a binary instrumental variables design
assignment_string

Generates string of assignment of value to argument
return_args

Generates character string for non-fixed arguments in a designer using substitution approach.
block_cluster_two_arm_designer

Create a two-arm design with blocks and clusters
mediation_analysis_designer

Create a design for mediation analysis
multi_arm_designer

Create a design with multiple experimental arms
get_design_code

Get the code from a design
regression_discontinuity_designer

Create a regression discontinuity design
match.call.defaults

Argument matching with defaults
DesignLibrary

DesignLibrary: A package for creating designs
two_arm_designer

Create a one-level two-arm design
two_by_two_designer

Create a two-by-two factorial design
spillover_designer

Create a design with spillovers
process_tracing_designer

Create a process-tracing design
two_arm_attrition_designer

Create design with risk of attrition or post treatment conditioning