magpie.randoms.random_draw
- magpie.randoms.random_draw(sample, size)
Draws a random sample from an input function, the algorithm ensures there can be no repeats.
- Parameters
- samplearray
Input sample data.
- sizeint
Size of the random draws.
- Returns
- randsamparray
Random subsample.