ggplot2.distr: ggplot2.distr

View source: R/mu_ggplots2_ext.R

ggplot2.distrR Documentation

ggplot2.distr

Description

Distribution plot combining violin and boxplot using ggplot2

Usage

ggplot2.distr(x, fillColor = "#676D8D")

Arguments

x

vector of values whose distribution is to be plottet

fillColor

color to be used to fill the violin

Value

the ggplot2 object (can be extended for plotting)

Examples

x <- rnorm(1000)
ggplot2.distr(x)

demuellae/muRtools documentation built on Nov. 6, 2024, 9:44 a.m.