The Distribution
class represents discrete probability distributions.
.Data
A data frame, with n > 1
columns, that defines a
probability mass function that associates probabilities to a finite number
of values assumed by a random variable. Columns 1
to n-1
determine the values assumed by the random variable; none of these columns
should be named "P"
. Column n
defines the probability
assigned to each value assumed by the random variable; this column must be
named "P"
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.