Plots the exponentiated effect (for example a hazard ratio) against
-log10(p) for every specification, so the cloud shows how much the
association vibrates as the model changes.
Usage
voe_volcano(
results,
effect = estimate,
p_value = p.value,
colour = NULL,
exponentiate = TRUE
)Arguments
- results
A tibble of per-specification results.
- effect, p_value
<
data-masking> columns for the estimate (link scale) and its p-value.- colour
Optional <
data-masking> column mapped to point colour, for examplen_adjusters.- exponentiate
Logical; exponentiate the effect for the x-axis.