Learn R Programming

Omisc (version 0.1.2)

cholcors: cholcors

Description

cholcors

Usage

cholcors(X, use = "everything")

Arguments

X

A matrix of data.

use

the missing data type to use for the correlation. Default is R's default "everything".

Value

This function returns the cholesky decomposition of the correlation matrix of the data

Examples

Run this code
# NOT RUN {
X<-stats::rnorm(100)
Y<-stats::rnorm(100)+X
Z<-cbind(X,Y)
cholcors(Z)
# }

Run the code above in your browser using DataLab