View source: R/utilities-ratio-comparison.R
mcSampling | R Documentation |
Perform repeatable Monte Carlo random sampling
for a data.frame obtained from a PKAnalyses
object
mcSampling(
dataSize,
sampleSize,
n = getDefaultMCRepetitions(),
seed = getDefaultMCRandomSeed()
)
dataSize |
Number of rows/unique individuals in |
sampleSize |
Number of sampled individuals in each Monte Carlo repetition |
n |
Number of repetitions |
seed |
Random Seed Number in order to get repeatable results |
A list of n
elements that include sampleSize
integers sampled from 1:dataSize
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.