| sampler.default | R Documentation |
Sampler for non-dist objects (degenerate distributions).
## Default S3 method:
sampler(x, ...)
x |
The object to sample from |
... |
Additional arguments to pass |
A function that takes n and returns n copies of x
s <- sampler(5)
s(3) # returns c(5, 5, 5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.