execute_multiverse {mverse} | R Documentation |
Execute the entire multiverse.
Description
This method executes the analysis steps
defined in the mverse
objected
across the entire multiverse.
Usage
execute_multiverse(.mverse)
## S3 method for class 'mverse'
execute_multiverse(.mverse)
Arguments
.mverse |
a |
Value
The resulting mverse
object.
Examples
# Define a mutate branch.
hurricane_strength <- mutate_branch(
# damage vs. wind speed vs.pressure
NDAM,
HighestWindSpeed,
Minpressure_Updated_2014,
# Standardized versions
scale(NDAM),
scale(HighestWindSpeed),
-scale(Minpressure_Updated_2014),
)
# Create a mverse and add the branch.
mv <- create_multiverse(hurricane) %>%
add_mutate_branch(hurricane_strength)
# The branched variables are not populated across the multiverse yet.
# Execute the multiverse; the variables are populated after the execution.
execute_multiverse(mv)
[Package mverse version 0.1.0 Index]