Learn R Programming

caRamel (version 1.4)

Cusecovar: New parameter vectors generation respecting a covariance structure

Description

proposes new parameter vectors respecting a covariance structure

Usage

Cusecovar(xref, amplif, n)

Value

xnew : matrix [ n , NPar ] of new vectors

Arguments

xref

: matrix [ . , NPar ] of the reference population whose covariance structure is to be used

amplif

: amplification factor of the standard deviation on each parameter

n

: number of new vectors to generate

Author

Fabrice Zaoui

Examples

Run this code
# 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