plotCutoff: Plots network based on pairwise fit indices reduced to Chen's...

View source: R/server.functions.R

plotCutoffR Documentation

Plots network based on pairwise fit indices reduced to Chen's cutoffs

Description

Plots network based on pairwise fit indices reduced to Chen's cutoffs

Usage

plotCutoff(
  measures,
  fit.index = "cfi",
  cutoff = NULL,
  weighted = TRUE,
  drop = NULL,
  shiny = F
)

Arguments

measures

The result of incrementalFit

fit.index

Index to be used to in representing measurement invariance distances. Only if the 'measures' argument is an output of incrementalFit. Should be "cfi", "rmsea", or "srmr", because only for these indices the cutoffs were suggested by Chen (2007).

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 graph_from_adjacency_matrix for details.

drop

Character vector of group names to be dropped from the plot.

shiny

Logical. If the function is executed in a shiny context.

Details

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.

See Also

plotDistances


MaksimRudnev/MIE.package documentation built on March 5, 2024, 1:24 p.m.