Package: DesignLibrary 0.1.10

Jasper Cooper

DesignLibrary: Library of Research Designs

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.

Authors:Graeme Blair [aut], Jasper Cooper [aut, cre], Alexander Coppock [aut], Macartan Humphreys [aut], Clara Bicalho [aut], Neal Fultz [aut], Lily Medina [aut]

DesignLibrary_0.1.10.tar.gz
DesignLibrary_0.1.10.zip(r-4.5)DesignLibrary_0.1.10.zip(r-4.4)DesignLibrary_0.1.10.zip(r-4.3)
DesignLibrary_0.1.10.tgz(r-4.4-any)DesignLibrary_0.1.10.tgz(r-4.3-any)
DesignLibrary_0.1.10.tar.gz(r-4.5-noble)DesignLibrary_0.1.10.tar.gz(r-4.4-noble)
DesignLibrary_0.1.10.tgz(r-4.4-emscripten)DesignLibrary_0.1.10.tgz(r-4.3-emscripten)
DesignLibrary.pdf |DesignLibrary.html
DesignLibrary/json (API)
NEWS

# Install 'DesignLibrary' in R:
install.packages('DesignLibrary', repos = c('https://declaredesign.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/declaredesign/designlibrary/issues

On CRAN:

6.29 score 30 stars 144 scripts 349 downloads 21 exports 10 dependencies

Last updated 1 years agofrom:b3676fba24. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 31 2024
R-4.5-winOKOct 31 2024
R-4.5-linuxOKOct 31 2024
R-4.4-winOKOct 31 2024
R-4.4-macOKOct 31 2024
R-4.3-winOKOct 31 2024
R-4.3-macOKOct 31 2024

Exports:binary_iv_designerblock_cluster_two_arm_designercluster_sampling_designerfactorial_designerget_design_codematch.call.defaultsmediation_analysis_designermulti_arm_designerpretest_posttest_designerprocess_tracing_designerrandomized_response_designerregression_discontinuity_designersimple_factorial_designersimple_iv_designersimple_spillover_designersimple_two_arm_designerspillover_designertwo_arm_attrition_designertwo_arm_covariate_designertwo_arm_designertwo_by_two_designer

Dependencies:DeclareDesignestimatrfabricatrFormulagenericsgluerandomizrRcppRcppEigenrlang

Readme and manuals

Help Manual

Help pageTopics
Generates string of assignment of value to argumentassignment_string
Create a binary instrumental variables designbinary_iv_designer simple_iv_designer
Create a two-arm design with blocks and clustersblock_cluster_two_arm_designer
Create a design for cluster random samplingcluster_sampling_designer
Substitute approachcode_fixer
Generates clean code string that reproduces designconstruct_design_code
DesignLibrary: A package for creating designsDesignLibrary
Create a factorial designfactorial_designer
Get the code from a designget_design_code
Argument matching with defaultsmatch.call.defaults
Create a design for mediation analysismediation_analysis_designer
Create a design with multiple experimental armsmulti_arm_designer
Create a pretest-posttest designpretest_posttest_designer
Create a process-tracing designprocess_tracing_designer
Create a randomized response designrandomized_response_designer
Create a regression discontinuity designregression_discontinuity_designer
Generates character string for non-fixed arguments in a designer using substitution approach.return_args
Create a design with spilloverssimple_spillover_designer spillover_designer
Takes substring between matched strings. Avoids dependency on stringr package.str_within
Substitute text from expressions in design codesub_expr_text
Create design with risk of attrition or post treatment conditioningtwo_arm_attrition_designer
Create a simple two arm design with a possibly prognostic covariatetwo_arm_covariate_designer
Create a one-level two-arm designsimple_two_arm_designer two_arm_designer
Create a two-by-two factorial designsimple_factorial_designer two_by_two_designer