sampleModif | R Documentation |
Internal soundgen function
sampleModif(x, ...)
x |
vector |
... |
other arguments passed to |
Same as sample
, but without defaulting to x = 1:x if
length(x) = 1. See
https://stackoverflow.com/questions/7547758/using-sample-with-sample-space-size-1
soundgen:::sampleModif(x = 3, n = 1)
# never returns 1 or 2: cf. sample(x = 3, n = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.