cholesky: Compute Cholesky

View source: R/utils.R

choleskyR Documentation

Compute Cholesky

Description

Compute the Choleski factorization of a real symmetric positive-definite square matrix. If it fails, compute the Cholesky factorization of a non-real symmetric positive-definite square matrix.

Usage

cholesky(x)

Arguments

x

(matrix) The data to compute the cholesky.

Value

The cholesky matrix.

Examples

## Not run: 
# Import the genomic data
data(Maize)

Cholesky <- cholesky(Maize$Geno)
dim(Cholesky)
head(Cholesky[, 5])

## End(Not run)


brandon-mosqueda/SKM documentation built on Feb. 8, 2025, 5:24 p.m.