abm_bullet: Create bullet graph with reference line

View source: R/abm.R

abm_bulletR Documentation

Create bullet graph with reference line

Description

Create bullet graph with reference line

Usage

abm_bullet(label, value, reference, roundto = 1, pct = FALSE)

Arguments

label

a label for the indicator, shown to the left of the gauge

value

the value of the indicator, displayed as a horizontal wide line

reference

a reference value displayed as a vertical thin line

roundto

number of digits after the decimal point (default = 1)

pct

boolean, set to TRUE if given value is a share (default = FALSE)

Value

a ggplot object


KTH-Library/bibliomatrix documentation built on Feb. 29, 2024, 5:54 a.m.