View source: R/server.functions.R
plotCutoff | R Documentation |
Plots network based on pairwise fit indices reduced to Chen's cutoffs
plotCutoff(
measures,
fit.index = "cfi",
cutoff = NULL,
weighted = TRUE,
drop = NULL,
shiny = F
)
measures |
The result of |
fit.index |
Index to be used to in representing measurement invariance distances. Only if the 'measures' argument is an output of |
cutoff |
Custom cutoff value used to plot the endges between groups. |
weighted |
Logical. If weighted graph should be created accounting for the size of fit intrement. See |
drop |
Character vector of group names to be dropped from the plot. |
shiny |
Logical. If the function is executed in a shiny context. |
The function extracts a given fit indeces from pairwise fitted MGCFAs, and uses cutoff of .01 to identify edges between groups (nodes), so that the groups for whom invariance is supported, are connected on the plot. The results are plotted using cluster_label_prop
.
plotDistances
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.