Description Usage Arguments Value Examples
Obtain the list of probabilities from a random variable: p(x)
1 | probs(X)
|
X |
random variable |
named vector of probablities for each element of the random variable
1 2 3 4 5 6 7 8 |
Attaching package: 'discreteRV'
The following object is masked from 'package:base':
%in%
1 0
0.5 0.5
1 2 3 4 5 6
0.1666667 0.1666667 0.1666667 0.1666667 0.1666667 0.1666667
1 2 3 4 5 6
0.1 0.1 0.1 0.1 0.2 0.4
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.