powered by
DISTRIBUTION
Plot an histogram of the density of the distribution using random numbers from the distribution
# S3 method for DISTRIBUTION plot(x, n = 10000, ...)
No return value. Side effect plot the histogram.
an object of class DISTRIBUTION
number of observations
other parameters to the hist function
hist
x <- new_NORMAL(0,1) plot(x) y <- new_DIRICHLET(c(10,20,70)) plot(x)
Run the code above in your browser using DataLab