randomize_vl_cpp | R Documentation |
Randomize a velocity with the given probabilities
randomize_vl_cpp(vl, probs)
vl |
a velocity list |
probs |
the probabilities of each value in the set {-1,0,1} |
a velocity list with randomized values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.