Learn R Programming

ccpsyc (version 0.2.6)

pancultural: Creating a Pan-Cultural Loading Matrix

Description

Creating a Pan-Cultural Loading Matrix

Usage

pancultural(df, group, nfactors)

Arguments

df

A data frame contains the variables for the exploratory factor analysis and the grouping variable.

group

The name of the column tht cointains the grouping supplied as a string.

nfactors

The number of factors expected.

Value

returns a Pan-Cultural loading matrix.

Examples

Run this code
# NOT RUN {
pancultural(example, "country", 5)
# }

Run the code above in your browser using DataLab