Description Usage Arguments Author(s) Examples
Probability mass function of X^n
1 |
X |
random variable |
n |
power |
sep |
separator between items from marginal distributions, by default set to "," |
fractions |
If TRUE, return the probabilities as fractions |
Heike Hofmann hofmann@iastate.edu
1 2 3 |
Attaching package: 'discreteRV'
The following object is masked from 'package:base':
%in%
Warning messages:
1: In RV(outcomes = as.character(S), probs = attr(S, "probs"), fractions = fractions) :
NAs introduced by coercion
2: In RV(outcomes = as.character(S), probs = attr(S, "probs"), fractions = fractions) :
NAs introduced by coercion
A,A A,B A,C B,A B,B B,C C,A
0.02493075 0.04155125 0.09141274 0.04155125 0.06925208 0.15235457 0.09141274
C,B C,C
0.15235457 0.33518006
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.