Visualises a net_comparison object. Currently supports the edge-weight
scatterplot (default), with the diagonal reference (perfect agreement)
and the OLS regression line annotated by Pearson, Spearman, and Kendall
correlations.
Arguments
- x
A
net_comparisonobject fromcompare_model().- type
Character. One of
"scatter"(default - edge-weight scatter with OLS fit and correlation overlay),"heatmap"(n by n grid of x - y differences using the diverging palette),"diff_hist"(histogram of |x - y| absolute differences with rug + density),"weight_dist"(overlaid distributions of |x| and |y| edge weights), or"all"(2 by 2 grid of all four panels; requires the gridExtra package).- combined
When
type = "all"andcombined = TRUE(default), the four panels are stitched into a 2x2 gtable. WhenFALSE, returns a named list of the four ggplots so each can be printed, saved, or re-laid-out independently. Ignored for othertypevalues.- ...
Ignored.