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.zip(r-4.5)multiverse_0.6.2.zip(r-4.4)multiverse_0.6.2.zip(r-4.3)
multiverse_0.6.2.tgz(r-4.4-any)multiverse_0.6.2.tgz(r-4.3-any)
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://mucollective.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

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

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"

On CRAN:

9.70 score 62 stars 1 packages 40 scripts 7.5k downloads 18 exports 57 dependencies

Last updated 1 months agofrom:8d0cd155f0. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 06 2024
R-4.5-winOKNov 06 2024
R-4.5-linuxOKNov 06 2024
R-4.4-winOKNov 06 2024
R-4.4-macOKNov 06 2024
R-4.3-winOKNov 06 2024
R-4.3-macOKNov 06 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 Nov 06 2024.

Last update: 2024-07-29
Started: 2019-10-08

Declaring conditions in the multiverse

Rendered fromconditions.Rmdusingknitr::rmarkdownon Nov 06 2024.

Last update: 2024-07-29
Started: 2021-06-14

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

Rendered fromexample-durante.Rmdusingknitr::rmarkdownon Nov 06 2024.

Last update: 2024-09-18
Started: 2024-09-18

Example multiverse implementation: Female hurricanes are deadlier than male hurricanes

Rendered fromexample-hurricane.Rmdusingknitr::rmarkdownon Nov 06 2024.

Last update: 2024-09-18
Started: 2024-09-18

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

Rendered fromexample-frequentist.Rmdusingknitr::rmarkdownon Nov 06 2024.

Last update: 2024-09-19
Started: 2024-09-18

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

Rendered fromexample-dance.Rmdusingknitr::rmarkdownon Nov 06 2024.

Last update: 2024-09-18
Started: 2024-09-18

Execution of multiverse analysis --- Sequential and Parallel

Rendered fromexecution-multiverse.Rmdusingknitr::rmarkdownon Nov 06 2024.

Last update: 2024-09-19
Started: 2022-05-19

Extracting and Visualising the results of a multiverse analysis

Rendered fromvisualising-multiverse.Rmdusingknitr::rmarkdownon Nov 06 2024.

Last update: 2024-07-29
Started: 2021-06-14

Using the multiverse in RMarkdown: Introduction to multiverse code chunks

Rendered frommultiverse-in-rmd.Rmdusingknitr::rmarkdownon Nov 06 2024.

Last update: 2024-07-29
Started: 2020-10-28

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