ggDISTRIBUTION: Plot of 'DISTRIBUTION' objects using 'ggplot2'

Description Usage Arguments Value Examples

View source: R/plots.R

Description

Plot of DISTRIBUTION objects using ggplot2

Usage

1
ggDISTRIBUTION(x, n = 10000)

Arguments

x

an object of class DISTRIBUTION

n

number of observation

Value

a ggplot object with the density of the distribution

Examples

1
2
3
4
x <- new_NORMAL(0,1)
ggDISTRIBUTION(x)
y <- new_DIRICHLET(c(10,20,70))
ggDISTRIBUTION(x)

convdistr documentation built on April 20, 2021, 9:06 a.m.