Creates a side-by-side plot for a netobject_ml object, showing the
between-person and within-person networks.
Arguments
- x
A
netobject_mlobject with$betweenand$withinnetworks.- layout
Character: layout algorithm. Default
"oval"(deterministic).- common_scale
Logical: use the same maximum weight for both panels? Default TRUE.
- titles
Character vector of length 2: panel titles. Default
c("Between-person", "Within-person").- ...
Additional arguments passed to
splot().
Examples
mat <- matrix(c(0, .5, .3, .5, 0, .4, .3, .4, 0), 3, 3)
colnames(mat) <- rownames(mat) <- c("A", "B", "C")
btw <- as_cograph(mat)
wth <- as_cograph(mat * 0.6)
ml <- structure(list(between = btw, within = wth), class = c("netobject_ml", "list"))
plot_netobject_ml(ml)
