p_indices | R Documentation |
Sample a proportion of indices of a vector
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.