Learn R Programming

umx (version 1.4.0)

umx_cor: umx_cor

Description

Report correlations and their p-values

Usage

umx_cor(X, df = nrow(X) - 2, use = c("pairwise.complete.obs", "complete.obs", "everything", "all.obs", "na.or.complete"), digits = 2, type = c("r and p-value", "smart"))

Arguments

X
a matrix or dataframe
df
the degrees of freedom for the test
use
how to handle missing data (defaults to pairwise complete)
digits
rounding of answers
type
Unused argument for future directions

Value

- Matrix of correlations and p-values

References

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

See Also

Other Stats Functions: reliability, umxCov2cor, umx_means, umx

Examples

Run this code
umx_cor(myFADataRaw[1:8,])

Run the code above in your browser using DataLab