plot_bullet: plot_bullet() #' Custom version of the classical Bullet Graph...

Description Usage Arguments Value Examples

Description

plot_bullet() #' Custom version of the classical Bullet Graph http://en.wikipedia.org/wiki/Bullet_graph

Usage

1
2
3
plot_bullet(df, my_title = "Overview of JRT results for FY14\n",
  my_palette = c(low = "#B10318", medium = "#DBA13A", high = "#309343"),
  my_font = "Impact", my_background = "#E2E2E3")

Arguments

df:

data.frame with 1 rows and the following 7 columns measure : label of what's being measured target : the target value for the measure value : the actual value of the measure n : Sample size

Value

ggplot object

Examples

1
2
3
4
5
6
df <- data.frame(measure = c("% enrolled", "% assessed", "% gaining skills"),
target=c(.75, .9, .72),
value=c(232, 50, 36),
n = c(407, 232, 50))

plot_bullet(df)

thelayc/laycBullet documentation built on May 31, 2019, 9:15 a.m.