build_dependence_tree.cranly_network {cranly} | R Documentation |
Construct a cranly_dependence_tree
object
Description
Construct a cranly_dependence_tree
object
Usage
## S3 method for class 'cranly_network'
build_dependence_tree(
x,
package = Inf,
base = FALSE,
recommended = TRUE,
global = TRUE,
...
)
Arguments
x |
a |
package |
a vector of character strings with the package names to be matched. Default is |
base |
logical. Should we include base packages in the subset? Default is |
recommended |
logical. Should we include recommended packages in the subset? Default is |
global |
logical. If |
... |
currently not used. |
See Also
compute_dependence_tree()
plot.cranly_dependence_tree()
summary.cranly_dependence_tree()
Examples
cran_db <- clean_CRAN_db()
package_network <- build_network(cran_db)
dep_tree <- build_dependence_tree(package_network, package = "PlackettLuce")
plot(dep_tree)
[Package cranly version 0.6.0 Index]