Learn R Programming

umx (version 1.9.1)

umxCov2cor: Convert a covariance matrix into a correlation matrix

Description

umxCov2cor like cov2cor that forces upper and lower triangles to be identical (rather than nearly identical)

Usage

umxCov2cor(x)

Arguments

x

something that cov2cor can work on (matrix, df, etc.)

Value

- a correlation matrix

References

- http://www.github.com/tbates/umx

See Also

Other Stats Functions: reliability, umx_cor, umx_means, umx

Examples

Run this code
# NOT RUN {
umxCov2cor(cov(mtcars))
# }

Run the code above in your browser using DataLab