powered by
proposes new parameter vectors respecting a covariance structure
Cusecovar(xref, amplif, n)
xnew : matrix [ n , NPar ] of new vectors
: matrix [ . , NPar ] of the reference population whose covariance structure is to be used
: amplification factor of the standard deviation on each parameter
: number of new vectors to generate
Fabrice Zaoui
# Definition of the parameters xref <- matrix(rexp(35), 35, 1) amplif <- 2. n <- 5 # Call the function res <- Cusecovar(xref, amplif, n)
Run the code above in your browser using DataLab