plot dependencies {packdep} | R Documentation |
Plot dependencies and reverse dependencies from the
object returned by dependencies
.
## S3 method for class 'packdep.dependencies': plot(x, type = c("dependencies", "reverse"), logscale = c("", "x", "y", "xy"), breaks = 10, freq = FALSE, xlab = NULL, ylab = NULL, ...) ## S3 method for class 'packdep.dependencies': hist(x, type = c("dependencies", "reverse"), xlab = NULL, ylab = "frequency", main = "", ...)
x |
an object of class packdep.dependencies . |
type |
a character string. Possible choices are dependencies
(dependencies are plotted) and reverse (reverse dependencies
are plotted). |
logscale |
a character string, which indicates which axes are to to be plotted on a logarithmic scale (none by default). |
breaks |
the breaks used in the plot; see hist
for details. |
freq |
a logical value. If TRUE absolute frequencies
(counts) are used; if FALSE relative frequencies are used
instead. |
xlab |
a title for the x axis. |
ylab |
a title for the y axis. |
main |
an overall title for the plot. |
... |
other parameters to be passed through to plotting functions. |
Radhakrishnan Nagarajan and Marco Scutari
## Not run: d = map.depends() c = dependencies(d) hist(c, freq = TRUE) plot(c, freq = FALSE, logscale = "y") ## End(Not run)