Description Usage Arguments Value Examples
Joint Probabilities and Expected Values of Two Discrete Random Variables
1 2 |
tabXY |
Joint frequency (or probability) table |
Xn |
Name of X, Default: 'X' |
Yn |
Name of Y, Default: 'Y' |
prt |
Option for detailed output in c("", "exp", "cov", "cor"), Default: 'exp' |
pprt |
Plot the joint & marginal PDF? Default: FALSE |
dig |
Number of digits below the decimal point, Default: 4 |
list(Ex=E(X), Dx=D(X), Ey=E(Y), Dy=D(Y), Vxy=Cov(X,Y), Cxy=Corr(X,Y))
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.