diff --git a/R/ggalt-package.r b/R/ggalt-package.r
index b1b817b..25b6c93 100644
--- a/R/ggalt-package.r
+++ b/R/ggalt-package.r
@@ -1,7 +1,7 @@
#' Extra Geoms, Stats and Coords for 'ggplot2'
#'
-#' A package containing additional geoms, coords and stats for the revamped (late 2015) version
-#' of ggplot2.
+#' A package containing additional geoms, coords and stats for the revamped
+#' (late 2015) version of ggplot2.
#'
#' @name ggalt
#' @docType package
diff --git a/README.Rmd b/README.Rmd
index 3e20159..37f6172 100644
--- a/README.Rmd
+++ b/README.Rmd
@@ -168,6 +168,17 @@ grid.arrange(ggplot(dat, aes(x)) + stat_ash(),
ggplot(dat, aes(x)) + stat_density(),
nrow=3)
+cols <- RColorBrewer::brewer.pal(3, "Dark2")
+ggplot(dat, aes(x)) +
+ stat_ash(alpha=1/2, fill=cols[3]) +
+ stat_bkde(alpha=1/2, fill=cols[2]) +
+ stat_density(alpha=1/2, fill=cols[1]) +
+ geom_rug() +
+ labs(x=NULL, y="density/estimate") +
+ scale_x_continuous(expand=c(0,0)) +
+ theme_bw() +
+ theme(panel.grid=element_blank()) +
+ theme(panel.border=element_blank())
```
### Test Results
diff --git a/README.md b/README.md
index 70daea8..ff23c0f 100644
--- a/README.md
+++ b/README.md
@@ -245,6 +245,25 @@ grid.arrange(ggplot(dat, aes(x)) + stat_ash(),
+``` r
+
+cols <- RColorBrewer::brewer.pal(3, "Dark2")
+ggplot(dat, aes(x)) +
+ stat_ash(alpha=1/2, fill=cols[3]) +
+ stat_bkde(alpha=1/2, fill=cols[2]) +
+ stat_density(alpha=1/2, fill=cols[1]) +
+ geom_rug() +
+ labs(x=NULL, y="density/estimate") +
+ scale_x_continuous(expand=c(0,0)) +
+ theme_bw() +
+ theme(panel.grid=element_blank()) +
+ theme(panel.border=element_blank())
+#> Estimate nonzero outside interval ab.
+#> Bandwidth not specified. Using '0.43', via KernSmooth::dpik.
+```
+
+
+
### Test Results
``` r
@@ -252,7 +271,7 @@ library(ggalt)
library(testthat)
date()
-#> [1] "Sat Sep 12 12:55:07 2015"
+#> [1] "Sat Sep 12 13:12:29 2015"
test_dir("tests/")
#> testthat results ========================================================================================================
diff --git a/README_figs/README-unnamed-chunk-4-19.png b/README_figs/README-unnamed-chunk-4-19.png
new file mode 100644
index 0000000..b8c423b
Binary files /dev/null and b/README_figs/README-unnamed-chunk-4-19.png differ