Learn R Programming

caRamel (version 1.0)

Cusecovar: Cusecovar

Description

proposes new parameter vectors respecting a covariance structure

Usage

Cusecovar(xref, amplif, n)

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

Value

xnew : matrix [ n , NPar ] of new vectors

Examples

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