Package: mverse 0.2.3

Michael Jongho Moon

mverse: Tidy Multiverse Analysis Made Simple

Extends 'multiverse' package (Sarma A., Kale A., Moon M., Taback N., Chevalier F., Hullman J., Kay M., 2021) <doi:10.31219/osf.io/yfbwm>, which allows users perform to create explorable multiverse analysis in R. This extension provides an additional level of abstraction to the 'multiverse' package with the aim of creating user friendly syntax to researchers, educators, and students in statistics. The 'mverse' syntax is designed to allow piping and takes hints from the 'tidyverse' grammar. The package allows users to define and inspect multiverse analysis using familiar syntax in R.

Authors:Michael Jongho Moon [aut, cre], Haoda Li [aut], Mingwei Xu [aut], Nathan Taback [aut], Fanny Chevalier [aut], Alison Gibbs [ctb]

mverse_0.2.3.tar.gz
mverse_0.2.3.zip(r-4.7)mverse_0.2.3.zip(r-4.6)mverse_0.2.3.zip(r-4.5)
mverse_0.2.3.tgz(r-4.6-any)mverse_0.2.3.tgz(r-4.5-any)
mverse_0.2.3.tar.gz(r-4.7-any)mverse_0.2.3.tar.gz(r-4.6-any)
mverse_0.2.3.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
mverse/json (API)

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

Bug tracker:https://github.com/mverseanalysis/mverse/issues

Pkgdown/docs site:https://mverseanalysis.github.io

Datasets:
  • hurricane - Data on Atlantic hurricanes in the U.S. between 1950 and 2012.
  • soccer - Number of cards given for each referee-player pair in soccer.

On CRAN:

Conda:

5.61 score 7 stars 13 scripts 332 downloads 24 exports 91 dependencies

Last updated from:8c2ea21772. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK193
source / vignettesOK387
linux-release-x86_64OK199
macos-release-arm64OK145
macos-oldrel-arm64OK239
windows-develOK140
windows-releaseOK127
windows-oldrelOK150
wasm-releaseOK147

Exports:%>%add_branch_conditionadd_family_branchadd_filter_branchadd_formula_branchadd_mutate_branchAICBICbranch_conditioncreate_multiverseexecute_multiverseextractfamily_branchfilter_branchformula_branchglm_mverseglm.nb_mverselm_mversemultiverse_treemutate_branchmversespec_curvespec_summaryt_test_mverse

Dependencies:abindbackportsbase64encberryFunctionsbitbit64broomcachemclicliprcodetoolscollectionscpp11crayondigestdistributionaldplyrevaluatefarverfastmapformatRfurrrfuturegenericsggforceggplot2ggraphggrepelggupsetglobalsgluegraphlayoutsgridExtragtablehighrhmsigraphisobandjsonliteknitrlabelinglatticelifecyclelistenvmagrittrMASSMatrixmemoisemultiversenumDerivparallellypillarpkgconfigpolyclipprettyunitsprogresspurrrR.cacheR.methodsS3R.ooR.utilsR6rbibutilsRColorBrewerRcppRcppArmadilloRdpackreadrrlangrprojrootrstudioapiS7scalesstringistringrstylersystemfontstibbletidygraphtidyrtidyselecttweenrtzdbutf8vctrsviridisviridisLitevroomwithrxfunyaml

Basic Regressions with mverse
Simple Linear Regression with mverse

Last update: 2025-08-26
Started: 2022-05-13

Getting started with mverse
Simple Example: Transform and Summarise One Numeric Column | Step 1: create_multiverse of the data frame | Step 2: mutate_branch to transform col1 | Step 3: add_mutate_branch to mv | Step 4: execute_multiverse to execute the transformations | Step 5: Extract Transformed Values from mv | Step 5: use tidyverse to compute the summary and plot the distribution of each transformation (universe) | Simple Example: Using mverse to Fit Three Simple Linear Regression of a Transformed Column | Step 2: Create formula_branch of the linear regression models | Step 3: add_formula_branch to multiverse of data frame | Step 3: lm_mverse to compute linear regression models across the multiverse | Step 4: Use summary to extract regression output | Are Soccer Referees Biased? | Analysis using Base R and Tidyverse | Analysis Using mverse | Branching Using mverse | Summarizing The Distribution Of Each Branch Option | References

Last update: 2023-08-04
Started: 2022-05-13

GLM Modelling with mverse
Exploring The Severity Of Feminine-named Versus Masculine-named Hurricanes | Define Branches in the Hurricane Multiverse | Branches for Data Manipulation | GLM Branches for Modelling | Condition Branches | Negative Binomial Regression

Last update: 2023-08-04
Started: 2022-05-13

Readme and manuals

Help Manual

Help pageTopics
Add branch conditions to a 'mverse' object.add_branch_condition add_branch_condition.mverse
Add family branches to a 'mverse' object.add_family_branch
Add filter branches to a 'mverse' object.add_filter_branch
Add formula branches to a 'mverse' object.add_formula_branch
Add mutate branches to a 'mverse' object.add_mutate_branch
Display the AIC and BIC score of the fitted models across the multiverseAIC AIC.mverse BIC BIC.mverse
Create a new branch condition.branch_condition
Execute the entire multiverse.execute_multiverse execute_multiverse.mverse
Extract branched values.extract extract.mverse
Create a new family branch.family_branch
Create a new filter branch.filter_branch
Create a new formula branch.formula_branch
Fit generalized linear regression models across the multiverse.glm_mverse
Fit negative binomial regression models across the multiverseglm.nb_mverse
Data on Atlantic hurricanes in the U.S. between 1950 and 2012.hurricane
Fit linear regression models across the multiverse.lm_mverse
Plot a multiverse tree diagram.multiverse_tree
Create a new mutate branch.mutate_branch
Create a new 'mverse' objectcreate_multiverse mverse
Print method for '*_branch' objects.print.branch
Number of cards given for each referee-player pair in soccer.soccer
Display a specification curve across the multiverse.spec_curve
Create a specification table for a selected variable.spec_summary
Display the multiverse table with results.summary summary.glm.nb_mverse summary.glm_mverse summary.lm_mverse summary.mverse
Performs one or two sample t-tests on data columns.t_test_mverse