Learn R Programming

psych (version 1.0-58)

smc: Find the Squared Multiple Correlation (SMC) of each variable with the remaining variables in a matrix

Description

The squared multiple correlation of a variable with the remaining variables in a matrix is sometimes used as initial estimates of the communality of a variable.

Usage

smc(R)

Arguments

R
A correlation matrix or a dataframe. In the latter case, correlations are found.

Value

  • a vector of squared multiple correlations.

See Also

mat.regress, factor.pa

Examples

Run this code
R <- make.hierarchical()
round(smc(R),2)

Run the code above in your browser using DataLab