source("config/style.R")
RNGkind("Mersenne-Twister","Inversion","Rejection"); set.seed(17)
values <- c(9,10,11,11,12,13,14,16)
means <- replicate(400,mean(sample(values,replace=TRUE)))
bounds <- quantile(means,c(.025,.975),type=7)
d <- data.frame(group="North",mean=mean(values),low=bounds[1],high=bounds[2])
p <- ggplot(d,aes(group,mean,ymin=low,ymax=high)) +
  geom_pointrange(colour="#00549F") +
  labs(y="Mean and percentile bootstrap interval",caption="400 resamples; seed 17")
export_plot(p, "GGP-08-006")
