| format_edge_label_template | R Documentation |
Processes a template string with placeholders and substitutes values.
format_edge_label_template(
template,
weight = NA,
ci_lower = NA,
ci_upper = NA,
p_value = NA,
stars = "",
digits = 2,
p_digits = 3,
p_prefix = "p=",
ci_format = "bracket",
oneline = TRUE,
leading_zero = TRUE
)
template |
Template string with placeholders: {est}, {range}, {low}, {up}, {p}, {stars}. |
weight |
Edge weight (estimate). |
ci_lower |
Lower CI bound. |
ci_upper |
Upper CI bound. |
p_value |
P-value. |
stars |
Significance stars string. |
digits |
Decimal places for estimates. |
p_digits |
Decimal places for p-values. |
p_prefix |
Prefix for p-values. |
ci_format |
CI format: "bracket" or "dash". |
oneline |
Logical: single line format (space-separated) or multiline. |
leading_zero |
Logical: include leading zero for values < 1? Default TRUE. |
Formatted label string.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.