Below is a trivariate probability mass function, P(X, Y, Z). Enter the density into R as an array and include the dimension names and element labels. Use the apply( ) function and the [ ] to find the following probabilities and distributions.
(a) P (X = 20, Y = -1, Z = 0)
(b) P (X ≥ 20, Y = -1)
(c) P(X)
(d) P (X, Z)
(e) P(X|Y, Z)