Learn R Programming

EGAnet (version 0.7)

net.loads: Network Loadings

Description

Computes the between- and within-community strength of each item for each community. This function uses the comcat and stable functions to calculate the between- and within-community strength of each item, respectively.

Usage

net.loads(A, wc, rm.zero = FALSE, plot = FALSE)

Arguments

A

Matrix, data frame, or EGA object. An adjacency matrix of network data

wc

Numeric. A vector of community assignments. Not necessary if an EGA object is input for argument A

rm.zero

Should zeros be removed from the resulting matrix? Defaults to FALSE. Set to TRUE to reduce the noise in the results

plot

Boolean. Should proportional loadings be plotted? Defaults to FALSE. Set to TRUE for plot with pie charts visualizing the proportion of loading associated with each dimension

Value

Returns a list containing:

unstd

A matrix of the unstandardized within- and between-community strength values for each node

std

A matrix of the standardized within- and between-community strength values for each node

Details

Simulation studies have demonstrated that a node's strength centrality is roughly equivalent to factor loadings (Christensen, Golino, & Silvia, 2019; Hallquist, Wright, & Molenaar, in press). Hallquist and colleagues (in press) found that node strength represented a combination of dominant and cross-factor loadings. This function computes each node's strength within each specified dimension, providing a rough equivalent to factor loadings (including cross-loadings).

For more details, type vignette("Network_Scores")

References

Christensen, A. P., Golino, H. F., & Silvia, P. (2019). A psychometric network perspective on the measurement and assessment of personality traits. PsyArXiv. doi:10.31234/osf.io/ktejp

Hallquist, M., Wright, A. C. G., & Molenaar, P. C. (in press). Problems with centrality measures in psychopathology symptom networks: Why network psychometrics cannot escape psychometric theory. Multivariate Behavioral Research. doi:10.31234/osf.io/pg4mf

Examples

Run this code
# NOT RUN {
# Load data
wmt <- wmt2[,7:24]

# }
# NOT RUN {
# Estimate EGA
ega.wmt <- EGA(wmt)

# }
# NOT RUN {
# Network loadings
net.loads(ega.wmt, rm.zero = TRUE)

# }

Run the code above in your browser using DataLab