related.packages {packdep}R Documentation

Plot a package's neighbourhood

Description

Plot a graph containing the set of packages closely related by forward or reverse dependencies to a specified package.

Usage

  related.packages(x, order = 1, node)

Arguments

x an object of class igraph returned by map.depends.
order a positive integer, giving the order of the neighbourhood (i.e. the maximum distance from the package specified by the node parameter).
node a character string, the name of a package present in x.

Value

The object of class igraph used for the plot.

Author(s)

Marco Scutari

Examples

## Not run: 
d = map.depends()
related.packages(d, 1, "boot")
## End(Not run)

[Package packdep version 0.2 Index]