plot.cograph_degree_fit: Plot method for cograph_degree_fit
Description
Overlays fitted distribution curves on a histogram of observed degrees.
Usage
# S3 method for cograph_degree_fit
plot(
x,
which = NULL,
log = "",
cols = NULL,
lwd = 2,
main = "Degree Distribution Fit",
...
)
Value
Invisible NULL.
Arguments
x
A cograph_degree_fit object from
fit_degree_distribution.
which
Character vector of distribution names to display. Default
NULL shows all fitted distributions.
log
Character string for log-scale axes: one of "" (default),
"x", "y" or "xy". Only "y" and "xy"
actually log the histogram axis; the values containing "x" are
accepted for compatibility but merely filter non-positive fitted curve
values.
cols
Named or unnamed character vector of colors for distribution
curves. Default uses a built-in palette.