This method executes the analysis steps
defined in the mverse
objected
across the entire multiverse.
execute_multiverse(.mverse)
# S3 method for mverse
execute_multiverse(.mverse)
a mverse
object.
The resulting mverse
object.
# 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)