Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

EIGENnet

EIGENnet


Description

Convenience function for converting a qgraph object to an eigenmodel layout

Usage

EIGENnet(qgraph_net, EIGENadj = NULL, S = 1000, burn = 200,
  seed = 1, repulse = F, repulsion = 1, eigenmodelArgs = list(),
  ...)

Arguments

qgraph_net

an object of type qgraph

EIGENadj

to use a base matrix for the eigenmodel other than the adjacency matrix stored in qgraph_net, provide it in this argument

S

number of samples from the Markov chain

burn

number of initial scans of the Markov chain to be dropped

seed

a random seed

repulse

logical. Add a small repulsion force with wordcloud package to avoid node overlap?

repulsion

scalar for the repulsion force (if repulse=T). Larger values add more repulsion

eigenmodelArgs

additional arguments in list format passed to eigenmodel::eigenmodel_mcmc

...

additional arguments passed to qgraph

Details

An eigenmodel can be interpreted based on coordinate placement of each node. A node in the top right corner scored high on both the first and second latent components

References

Jones, P. J., Mair, P., & McNally, R. J. (2018). Visualizing psychological networks: A tutorial in R. Frontiers in Psychology, 9, 1742. https://doi.org/10.3389/fpsyg.2018.01742


networktools

Tools for Identifying Important Nodes in Networks

v1.2.3
GPL-3
Authors
Payton Jones [aut, cre]
Initial release
2020-4-19

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.