make_cran {manynet}R Documentation

Making networks of package dependencies

Description

Researchers regularly need to work with a variety of external data formats. The following functions offer ways to import from some common external file formats into objects that {manynet} and other graph/network packages in R can work with:

Usage

read_cran(pkg = "all")

Arguments

pkg

The name

Details

Note that these functions are not as actively maintained as others in the package, so please let us know if any are not currently working for you or if there are missing import routines by raising an issue on Github.

Source

https://www.r-bloggers.com/2016/01/r-graph-objects-igraph-vs-network/

See Also

as

Other makes: make_create, make_ego, make_explicit, make_learning, make_motifs, make_play, make_random, make_read, make_stochastic, make_write

Examples

# mnet <- read_cran()
# mnet <- to_ego(mnet, "manynet", max_dist = 2)
# graphr(mnet, layout = "hierarchy", 
#        edge_color = "type", node_color = "Compilation")

[Package manynet version 1.5.1 Index]