Learn R Programming

umx (version 4.9.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)

Arguments

x

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

Value

  • A correlation matrix

References

See Also

cov2cor()

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

Examples

Run this code
# NOT RUN {
umxCov2cor(cov(mtcars[,1:5]))
# }

Run the code above in your browser using DataLab