Free Access Week-  Data Engineering + BI
Data engineering and BI courses are free!
Free AI Access Week from June 2-8

convdistr (version 1.6.1)

ggDISTRIBUTION: Plot of DISTRIBUTION objects using ggplot2

Description

Plot of DISTRIBUTION objects using ggplot2

Usage

ggDISTRIBUTION(x, n = 10000)

Value

a ggplot object with the density of the distribution

Arguments

x

an object of class DISTRIBUTION

n

number of observation

Examples

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

Run the code above in your browser using DataLab