Description Usage Arguments Value
Sample a proportion of indices of a vector
1 | p_indices(x, p)
|
x |
A vector |
p |
A numeric probability between 0 and 1 |
An integer vector of indices.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.