View source: R/methods-ResIN.R
| as.qgraph.ResIN | R Documentation |
Converts a ResIN object to a qgraph object using the adjacency
matrix stored in x$aux_objects$adj_matrix.
## S3 method for class 'ResIN'
as.qgraph(
x,
layout = "spring",
maximum = 1,
vsize = 6,
DoNotPlot = TRUE,
sampleSize = NULL,
title = "ResIN graph in qgraph",
mar = c(3, 8, 3, 8),
normalize = FALSE,
...
)
x |
A |
layout, maximum, vsize, DoNotPlot, sampleSize, title, mar, normalize |
Passed to |
... |
Additional arguments passed to |
A qgraph object.
## 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.