Learn R Programming

MCCM (version 0.1.0)

gen_CCM: Positive Semidefinite Correlation Matrix

Description

Generate a positive semidefinite correlation coefficients matrix

Usage

gen_CCM(d)

Value

a correlation coefficients matrix.

Arguments

d

the dimension of matrix.

Examples

Run this code
X = gen_CCM(4)
print(X)

Run the code above in your browser using DataLab