Description Usage Arguments Author(s) Examples
Extracts the marginal probability mass functions from a joint distribution.
1 | margins(X, sep = ",")
|
X |
a random variable |
sep |
parameter specifying the separator between dimensions, defaults to "," |
Heike Hofmann hofmann@iastate.edu
1 2 3 |
Attaching package: 'discreteRV'
The following object is masked from 'package:base':
%in%
[[1]]
Random variable with 6 outcomes
Outcomes 1 2 3 4 5 6
Probs 1/6 1/6 1/6 1/6 1/6 1/6
[[2]]
Random variable with 6 outcomes
Outcomes 1 2 3 4 5 6
Probs 1/6 1/6 1/6 1/6 1/6 1/6
[[3]]
Random variable with 6 outcomes
Outcomes 1 2 3 4 5 6
Probs 1/6 1/6 1/6 1/6 1/6 1/6
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.