cranly_network
according to author, package and/or directiveSubset a cranly_network
according to author, package and/or directive
# S3 method for cranly_network
subset(
x,
package = Inf,
author = Inf,
maintainer = Inf,
directive = c("imports", "suggests", "enhances", "depends", "linking_to"),
base = TRUE,
recommended = TRUE,
exact = TRUE,
only = FALSE,
...
)
A cranly_network
object that is the subject of x
.
a cranly_network
object.
a vector of character strings with the package names to be matched. Default is Inf
which returns all available packages in x
for further subsetting.
a vector of character strings with the author names to be matched. Default is Inf
which returns all available author in x
for further subsetting.
a vector of character strings with the maintainer names to be matched. Default is Inf
which returns all available maintainers in x
for further subsetting.
a vector of at least one of "Imports"
, "Suggests"
, "Enhances"
, "Depends"
.
logical. Should we include base packages in the subset? Default is TRUE
.
logical. Should we include recommended packages in the subset? Default is TRUE
.
logical. Should we use exact matching? Default is TRUE
.
logical. If TRUE
the subset includes only the edges between packages named in package
and/or authors named in author
. If FALSE
(default) edges to and from all other packages and/or authors that are linked to package
and/or author
are included in the subset.
currently not used.