View source: R/server.functions.R
plotDistances | R Documentation |
Plot distances using computed measures of distance
plotDistances(
measures,
n.clusters = "auto",
fit.index = "cfi",
drop = NULL,
dist.method = NULL,
shiny = FALSE
)
measures |
Can be result of 'MGCFAparameters', 'computeCovariance', 'computeCorrelation', 'incrementalFit'. |
n.clusters |
Number of clusters. |
fit.index |
Index to be used to in represneting measurement invariance distances. Only if the 'measures' argument is an output of 'incrementalFit'. Can be anything returned by 'lavaan::fitMeasures' |
drop |
Vector of group names to be dropped from the plot. |
dist.method |
Method to compute distances. |
Computes distances and performs multidimensional scaling (two-dimensional projection). Returns ggplot-based plot.
plotCutoff
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.