Description Usage Arguments Value
given a pdf for a vector of values, returns a sample space of vals distributed around the pdf
1 | distribute(pdf, val, size = 10000)
|
pdf |
is a vector of probs summing to one |
val |
is a vector of values associated with 'pdf' |
size |
is a large integer (>100) |
sample of vals reflective of pdf
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.