Is there an R package could be used to plot a joint probability mass function table?

"Ross, A first course in probability, 9th ed" gives this example

Suppose that 3 balls are randomly selected from an urn containing 3 red, 4 white, and 5 blue balls. If we let X and Y denote, respectively, the number of red and white balls chosen, then the joint probability mass function of X and Y, p(i,j) = P{X=i,Y=j}, is given by

image

Is there an R package could be used to plot such a table?

Take a look at Emcdf

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.