Description Usage Arguments Value Examples
View source: R/ggDensityJitter.R
template wrapper ggridges::geom_density_ridges(., jittered_points = TRUE, position = position_points_jitter())
1 2 3 | ggDensityJitter(.data, title = "", xlab = "", ylab = "",
scaled = TRUE, .jitter.width = 0.05, .alpha = 0.3, .scale = 0.9,
.verbose = TRUE, ...)
|
.data |
a data frame or a matrix |
title |
title text passed to labs(title = title, ...) |
xlab |
text passed to labs(xlab = xlab, ...) |
ylab |
text passed to labs(ylab = ylab, ...) |
scaled |
logical. If .data are scaled for each colmn (default = TRUE). |
.jitter.width |
numeric. Width for horizonal jittering. By default set to 0.05. |
.alpha |
numeric (0, 1). Alpha transparency scales for density plots. |
.scale |
numeric. Position scales for Y-axis. |
.verbose |
ligical. If TRUE, which colmn were converted (from factor to numeric) is printed. |
... |
other options passed to theme(., ...) |
a ggplots object
1 2 3 4 5 6 7 8 | ## Not run:
ggDensityJitter(iris)
iris %>%
select(-Species) %>%
ggDensityJitter("feature distribution", .scale = 0.7, .jitter.width = 0.1, .verbose = FALSE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.