Created
August 17, 2015 12:33
-
-
Save tklebel/200a101d65ad0a530a50 to your computer and use it in GitHub Desktop.
Recreating graph from simulation study with ggplot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### cpd beta1 Coverage | |
# hinzufügen zu Zeile 335 (ca) | |
library(ggplot2) | |
df <- as.data.frame(cpd.coverB1) | |
ggplot(df, aes(cpd.coverB1, fill = cpd.coverB1)) + | |
geom_bar() + | |
geom_hline(yintercept = 950, linetype = 'dashed', colour = "blue") + | |
ylim(c(0, 1000)) + | |
theme_bw() + | |
labs(title = expression(paste("cpd-Coverage ",beta[1]))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment