The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
ggbuildr
is a simple tool for saving incremental
“builds” of a ggplot object. Intended use-case is to save plots for
presentation slides.
To install from GitHub:
# Currently only available as development version from Github
# install.packages("devtools")
::install_github("jongbinjung/ggbuildr") devtools
library(ggplot2)
library(ggbuildr)
set.seed(1)
<- rnorm(20)
X <- X + rnorm(20)
Y
<- data.frame(X, Y)
pd <- ggplot(pd, aes(X, Y)) +
p geom_smooth() +
geom_point(shape = 21, size = 2,
fill = "white", color = "black") +
# Fixing the limits ensure plot ranges are constant
coord_cartesian(xlim = c(-2.5, 2), ylim = c(-4, 4))
# Plot smooth, and then point
build_plot(p, build_order = list(1, 2))
# Plot point, and then smooth, but preserve order (i.e, keep points on top)
build_plot(p, build_order = list(2, 1))
# Plot point, and then smooth, and draw smooth layer on top of point
build_plot(p, build_order = list(2, 1), preserve_order = FALSE)
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.