Description Usage srswo mcdowell_sampling
Documentation for samplers.
1 2 3 4 5 | mcdowell_sampling(fitness, fitness_weights)
srswo(choose, repeats, sample_size)
srs(choose_max, repeats, sample_size)
|
srswoSimple random sampling without replacemant and uniform selection probabilities
srswo( choose, repeats, sample_size )
chooseNumeric vector of elements to choose from.
repeatsInteger. How many repeats for the sampling.
sample_sizeInteger. How many elements chosen per sample.
Returns a matrix with the draws from each sample along the columns.
mcdowell_samplingSampling used in the supplementary material of McDowell (2013).
CAB.mcdowell_sampling( fitness, fitness_weights )
fitnessNumeric vector of fitness values.
fitness_weightsNumeric vector of fitness weights.
Returns a matrix with two columns and rows equal to the number of fitnss values. This matrix contains the indices of the values that are sampled. The indexing starts from zero.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.