ggDISTRIBUTION {convdistr}R Documentation

Plot of DISTRIBUTION objects using ggplot2

Description

Plot of DISTRIBUTION objects using ggplot2

Usage

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

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

[Package convdistr version 1.6.1 Index]