View source: R/Crecombination.R
Crecombination | R Documentation |
performs a recombination of the sets of parameters
Crecombination(param, blocks, n)
param |
: matrix [ . , NPar ] of the population of parameters |
blocks |
: list of integer vectors: list of variable blocks for recombination |
n |
: number of new vectors to generate |
xnew : matrix [ n , NPar ] of new vectors
Fabrice Zaoui
# Definition of the parameters
param <- matrix(rexp(15), 15, 1)
blocks <- NULL
n <- 5
# Call the function
res <- Crecombination(param, blocks, n)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.