cov2corr function

Covariance to correlation matrix

Covariance to correlation matrix

This function takes an (n x n) covariance matrix and returns the associated (n x n) correlation matrix.

cov2corr(cov_mat)

Arguments

  • cov_mat: A (n x n) covariance matrix.

Returns

A (n x n) correlation matrix.

  • Maintainer: Gabriel Rodriguez Rondon
  • License: GPL (>= 2)
  • Last published: 2025-02-24