View source: R/ResIN_to_qgraph.R
| ResIN_to_qgraph | R Documentation |
as.qgraph() method instead.Deprecated/legacy function. Transforms the output of the ResIN function into an qgraph object. Use as.qgraph() method instead.
ResIN_to_qgraph(ResIN_object, qgraph_arglist = NULL)
ResIN_object |
the output of the ResIN function (a list with class ResIN). |
qgraph_arglist |
an optional argument list to be supplied to the igraph::graph_from_adjacency_matrix function. If NULL, defaults are: |
A [qgraph]https://cran.r-project.org/web/packages/qgraph/index.html graph object.
Epskamp S, Cramer AOJ, Waldorp LJ, Schmittmann VD, Borsboom D (2012). “qgraph: Network Visualizations of Relationships in Psychometric Data.” Journal of Statistical Software, 48(4), 1–18.
as.qgraph as the recommended interface.
## Load the 12-item simulated Likert-type ResIN toy dataset
data(lik_data)
## Run the function:
ResIN_qgraph <- as.qgraph(ResIN(lik_data, plot_ggplot = FALSE))
class(ResIN_qgraph)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.