Learn R Programming

simsem (version 0.2-8)

cov2corMod: Convert a covariance matrix to a correlation matrix

Description

Convert a covariance matrix to a correlation matrix. This is the cov2cor function in the base package that takes care of the zero-variance variables

Usage

cov2corMod(V)

Arguments

V
A covariance matrix

Value

  • A correlation matrix

Examples

Run this code
# No example

Run the code above in your browser using DataLab