Select which edge network to draw
qe_edges.RdControls edge rendering. Supply either a group name (group) or a
specific unit ID (unit) as the primary edge source; compare or also
optionally bring in a second group for subtraction or overlay. Omitting both
group and unit (or calling qe_edges(show = FALSE)) suppresses the edge
network entirely, leaving only group means and unit points visible.
Arguments
- p
A
qe_plotobject.- group
Name of the primary group whose mean edge network to draw. Must match a value in the model's group column. Mutually exclusive with
unit.- unit
ID of a single unit whose individual edge network to draw (e.g.
"FirstGame::steven z"). Mutually exclusive withgroup.compareandalsoare not supported whenunitis supplied.- compare
Name of a second group to subtract (
group − compare). Positive differences use the primary colour; negative use the secondary. Cannot be combined withunit.- also
Name of a second group to overlay alongside
group. Cannot be combined withunit.- show
Logical.
FALSEsuppresses all edge rendering regardless of other arguments. DefaultTRUE.
Details
Use qe_units() to inspect the unit IDs present in the model.
Examples
if (FALSE) { # \dontrun{
# Single group mean network
qe_plot(set) |> qe_edges("FirstGame")
# Individual unit network
qe_plot(set) |> qe_edges(unit = "FirstGame::steven z")
# Individual unit + show all group means
qe_plot(set) |> qe_group() |> qe_edges(unit = "FirstGame::steven z")
# Subtraction
qe_plot(set) |> qe_edges("FirstGame", compare = "SecondGame")
# Overlay
qe_plot(set) |> qe_edges("FirstGame", also = "SecondGame")
# No edges (means and/or points only)
qe_plot(set) |> qe_group() |> qe_edges(show = FALSE)
} # }