spec_summary | R Documentation |
Returns estimates for a selected variable across the multiverse along with
the universe specification information in a table. The resulting table
can be used for spe_curve()
.
spec_summary(.mverse, var, conf.int = TRUE, conf.level = 0.95)
.mverse |
A |
var |
A character specifying the variable of interest. |
conf.int |
Whether the table should include confidence intervals. |
conf.level |
The confidence level for the confidence level and
|
A spec_summary
object that includes estimates and
specification across the multiverse for the selected term(s). A boolean
column is_significant
indicates whether p.value
for the
universe is less than the specified significance level
(1 - conf.level
).
Other specification curve analysis:
spec_curve()
femininity <- mutate_branch(
1 * (MasFem > 6), 1 * (MasFem > mean(MasFem))
)
intensity <- mutate_branch(
Minpressure_Updated_2014,
Category,
NDAM,
HighestWindSpeed
)
model <- formula_branch(
log(alldeaths + 1) ~ femininity,
log(alldeaths + 1) ~ femininity * intensity
)
mv <- mverse(hurricane) %>%
add_mutate_branch(femininity) %>%
add_mutate_branch(intensity) %>%
add_formula_branch(model) %>%
lm_mverse()
spec_summary(mv, "femininity")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.