ggRaincloud: rain could plot wrapper for ggRidges package

Description Usage Arguments Value Examples

View source: R/ggRaincoud.R

Description

template wrapper ggridges::geom_density_ridges(., jittered_points = TRUE, position = "raincloud")

Usage

1
2
ggRaincloud(.data, title = "", xlab = "", ylab = "", scaled = TRUE,
  .alpha = 0.3, .scale = 0.9, .verbose = TRUE, ...)

Arguments

.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).

.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(., ...)

Value

a ggplots object

Examples

1
2
3
4
5
6
7
8
## Not run: 
ggRaincloud(iris)

iris %>%
  select(-Species) %>%
  ggRaincloud("feature distribution",.scale = 0.7 .verbose = FALSE)

## End(Not run)

katokohaku/ggumap documentation built on Nov. 4, 2019, 3:32 p.m.