subset.cranly_network {cranly} | R Documentation |
Subset a cranly_network
according to author, package and/or directive
Description
Subset a cranly_network
according to author, package and/or directive
Usage
## S3 method for class '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,
...
)
Arguments
x |
a |
package |
a vector of character strings with the package names to be matched. Default is |
author |
a vector of character strings with the author names to be matched. Default is |
maintainer |
a vector of character strings with the maintainer names to be matched. Default is |
directive |
a vector of at least one of |
base |
logical. Should we include base packages in the subset? Default is |
recommended |
logical. Should we include recommended packages in the subset? Default is |
exact |
logical. Should we use exact matching? Default is |
only |
logical. If |
... |
currently not used. |
Value
A cranly_network
object that is the subject of x
.