Learn R Programming

mulSEM (version 1.0)

Thorndike00: Correlation matrix of a model of disgust

Description

This dataset includes a correlation matrix of 13 variables (n=679) between five subscales (y1 to y5) of the Disguest Emotion Scale and eight subscales (x1 to x8) of the Disgust Scale reported by Thorndike (2000, p. 238).

Usage

data("Thorndike00")

Arguments

Details

A list of data with the following structure:

data

A 13x13 correlation matrix.

n

A sample size.

References

Gu, F., Yung, Y.-F., & Cheung, M. W.-L. (2019). Four covariance structure models for canonical correlation analysis: A COSAN modeling approach. Multivariate Behavioral Research, 54(2), 192-223. https://doi.org/10.1080/00273171.2018.1512847

Examples

Run this code
# \donttest{
data(Thorndike00)

## Canonical Correlation Analysis
## Note. We swap the X_vars and Y_vars because cancorr() expects that
## X_vars cannot have more variables than Y_vars.

cancorr(X_vars=c("y1", "y2", "y3", "y4", "y5"),
        Y_vars=c("x1", "x2", "x3", "x4", "x5", "x6", "x7", "x8"),
        Cov=Thorndike00$data, numObs=Thorndike00$n)
# }

Run the code above in your browser using DataLab