Description Usage Arguments Value
Given two vectors of equal length, returns a matrix where values of the first vector are nonzero.
1 | build_mats(x, y)
|
x |
is a numeric vector of probabilities (a pmf) |
y |
is a numeric vector of values associated with x |
a dense matrix (x,y) excluding nonzero probabilities in x
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.