make_explicit {manynet} | R Documentation |
Making networks with explicit ties
Description
This function creates a network from a vector of explicitly named nodes
and ties between them.
create_explicit()
largely wraps igraph::graph_from_literal()
,
but will also accept character input and not just a formula,
and will never simplify the result.
Ties are indicated by -
, and directed ties (arcs)
require +
at either or both ends.
Ties are separated by commas, and isolates can be added as
an additional, unlinked node after the comma within the formula.
Sets of nodes can be linked to other sets of nodes through use of
a semi-colon.
See the example for a demonstration.
Usage
create_explicit(...)
Arguments
... |
Arguments passed on to |
See Also
Other makes:
make_cran
,
make_create
,
make_ego
,
make_learning
,
make_motifs
,
make_play
,
make_random
,
make_read
,
make_stochastic
,
make_write
Examples
create_explicit(A -+ B, B -+ C, A +-+ C, D, E:F:G-+A, E:F+-+G:H)