Learn R Programming

umx (version 4.20.0)

umxCov2cor: Convert a covariance matrix into a correlation matrix

Description

A version of cov2cor() that forces upper and lower triangles to be identical (rather than nearly identical)

Usage

umxCov2cor(x)

Value

  • A correlation matrix

Arguments

x

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

References

See Also

cov2cor()

Other Miscellaneous Stats Functions: FishersMethod(), SE_from_p(), geometric_mean(), harmonic_mean(), oddsratio(), reliability(), umxHetCor(), umxParan(), umxWeightedAIC(), umx_apply(), umx_cor(), umx_means(), umx_r_test(), umx_round(), umx_scale(), umx_var(), umx

Examples

Run this code
umxCov2cor(cov(mtcars[,1:5]))

Run the code above in your browser using DataLab