Description Usage Arguments Value author References
The data is filtered randomly using a Bernoulli trial for each tuple.
1 |
data |
A |
p |
The probability that a tuple passes the filter. |
rng |
A length-one character vector specifying the random number generator used. It should correspond to an engine in the C++ header <random>. |
A waypoint
that has been filtered randomly.
Jon Claus, jonterainsights@gmail.com, Tera Insights, LLC.
hrefhttp://en.cppreference.com/w/cpp/numeric/randomC++ reference for a list of random number generators. hrefhttp://en.wikipedia.org/wiki/Bernoulli_samplingWikipedia for information about Bernoulli sampling.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.