Learn R Programming

caRamel (version 1.4)

matvcov: Calculation of the variances-covariances matrix on the reference population

Description

calculates the variances-covariances matrix on the reference population

Usage

matvcov(x, g)

Value

rr : variances-covariances matrix on the reference population

Arguments

x

: population

g

: center of reference population (in the parameter space)

Author

Fabrice Zaoui

Examples

Run this code
# Definition of the parameters
x <- matrix(rexp(30), 30, 1)
g <- mean(x)
# Call the function
res <- matvcov(x, g)

Run the code above in your browser using DataLab