Package: multiverse 0.6.2

Abhraneel Sarma

multiverse: Create 'multiverse analysis' in R

Implement 'multiverse' style analyses (Steegen S., Tuerlinckx F, Gelman A., Vanpaemal, W., 2016) <doi:10.1177/1745691616658637> to show the robustness of statistical inference. 'Multiverse analysis' is a philosophy of statistical reporting where paper authors report the outcomes of many different statistical analyses in order to show how fragile or robust their findings are. The 'multiverse' package (Sarma A., Kale A., Moon M., Taback N., Chevalier F., Hullman J., Kay M., 2021) <doi:10.31219/osf.io/yfbwm> allows users to concisely and flexibly implement 'multiverse-style' analysis, which involve declaring alternate ways of performing an analysis step, in R and R Notebooks.

Authors:Abhraneel Sarma [aut, cre], Matthew Kay [aut], Michael Moon [ctb], Mark Miller [ctb], Kyle Hwang [ctb], Hadley Wickham [ctb], Alex Kale [ctb], Nathan Taback [ctb], Fanny Chevalier [ctb], Jessica Hullman [ctb], Pierre Dragicevic [ctb], Yvonne Jansen [ctb]

multiverse_0.6.2.tar.gz
multiverse_0.6.2.tar.gz(r-4.5-noble)multiverse_0.6.2.tar.gz(r-4.4-noble)
multiverse_0.6.2.tgz(r-4.4-emscripten)multiverse_0.6.2.tgz(r-4.3-emscripten)
multiverse.pdf |multiverse.html
multiverse/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/mucollective/multiverse/issues

Pkgdown:https://mucollective.github.io

Datasets:
  • durante - Survey to study the effect of fertility on religiosity and political attitudes
  • hurricane - Survey to study the effect of fertility on religiosity and political attitudes
  • userlogs - Userlogs
  • vis_correlation - Participants responses in the study by Harrison et al., "Ranking Visualizations of correlation according to Weber's law"

4.74 score 1 packages 41 scripts 251 downloads 18 exports 57 dependencies

Last updated 3 months agofrom:0770687fb3. Checks:OK: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKDec 07 2024
R-4.5-linuxOKDec 07 2024

Exports:codeconditionsexecute_multiverseexecute_universeexpandexport_code_jsonexport_data_jsonexport_results_dist_jsonexport_results_jsonextract_variable_from_universeextract_variablesinsideis_multiverseis.multiversemultiverseparameterssizestyle_multiverse_code

Dependencies:abindberryFunctionsbitbit64clicliprcodetoolscollectionscpp11crayondigestdistributionaldplyrevaluatefansiformatRfurrrfuturegenericsglobalsgluehighrhmsjsonliteknitrlifecyclelistenvmagrittrnumDerivparallellypillarpkgconfigprettyunitsprogresspurrrR.cacheR.methodsS3R.ooR.utilsR6readrrlangrprojrootrstudioapistringistringrstylertibbletidyrtidyselecttzdbutf8vctrsvroomwithrxfunyaml

A discussion on branches in the multiverse

Rendered frombranch.Rmdusingknitr::rmarkdownon Dec 07 2024.

Last update: 2024-10-08
Started: 2021-06-01

Declaring conditions in the multiverse

Rendered fromconditions.Rmdusingknitr::rmarkdownon Dec 07 2024.

Last update: 2024-10-08
Started: 2021-06-01

Example multiverse implementation: Effect of fertility on religiosity and political attitudes

Rendered fromexample-durante.Rmdusingknitr::rmarkdownon Dec 07 2024.

Last update: 2024-10-08
Started: 2024-10-08

Example multiverse implementation: Female hurricanes are deadlier than male hurricanes

Rendered fromexample-hurricane.Rmdusingknitr::rmarkdownon Dec 07 2024.

Last update: 2024-10-08
Started: 2024-10-08

Example multiverse implementation: Re-evaluating the efficiency of physical visualizations

Rendered fromexample-frequentist.Rmdusingknitr::rmarkdownon Dec 07 2024.

Last update: 2024-10-08
Started: 2024-10-08

Example multiverse implementation: Recreating Adding inferential treatments to plots using Resampling and Animations using multiverse

Rendered fromexample-dance.Rmdusingknitr::rmarkdownon Dec 07 2024.

Last update: 2024-10-08
Started: 2024-10-08

Execution of multiverse analysis --- Sequential and Parallel

Rendered fromexecution-multiverse.Rmdusingknitr::rmarkdownon Dec 07 2024.

Last update: 2024-10-08
Started: 2022-07-04

Extracting and Visualising the results of a multiverse analysis

Rendered fromvisualising-multiverse.Rmdusingknitr::rmarkdownon Dec 07 2024.

Last update: 2024-10-08
Started: 2021-06-01

Using the multiverse in RMarkdown: Introduction to multiverse code chunks

Rendered frommultiverse-in-rmd.Rmdusingknitr::rmarkdownon Dec 07 2024.

Last update: 2024-10-08
Started: 2021-06-01

Readme and manuals

Help Manual

Help pageTopics
'Explorable Multiverse' Data Analysis and Reports in Rmultiverse-package
Define constraints for combinations of analysis paths in the multiverse%when%
Accessing contents of the multiverse object$.multiverse $<-.multiverse accessors code code.default code.multiverse conditions conditions.default conditions.multiverse expand expand.default expand.multiverse extract_variable_from_universe parameters parameters.default parameters.multiverse size size.default size.multiverse
Define multiple analysis paths for a step in the multiversebranch
Survey to study the effect of fertility on religiosity and political attitudesdurante
Execute parts of, or the entire multiverseexecute execute_multiverse execute_universe
Exporting results from a multiverse analysis to JSONexport_code_json export_data_json export_json export_results_dist_json export_results_json
Extract variables and objects from the multiverseextract_variables extract_variables.data.frame extract_variables.multiverse
Code corresponding to a single analysisget_code
Survey to study the effect of fertility on religiosity and political attitudeshurricane
Pass code into the multiverseinside
Create custom code blocks for multiverse analysismulitiverse_code_block
Create a new multiverse objectis.multiverse is_multiverse multiverse
Parse the multiverse syntax to identify branchesparse_multiverse
Accessing contents of the multiverse objectprint print.multiverse
Stylises the code of multiverse for printingstyle_multiverse_code
Userlogsuserlogs
Participants responses in the study by Harrison et al., "Ranking Visualizations of correlation according to Weber's law"vis_correlation