Usage
as.network.default(x, ...)
as.network.matrix(x, matrix.type = NULL, directed = TRUE,
hyper = FALSE, loops = FALSE, multiple = FALSE, bipartite = FALSE,
ignore.eval = TRUE, names.eval = NULL, na.rm = FALSE,
edge.check = FALSE, ...)
Arguments
x
a matrix containing an adjacency structure
matrix.type
one of "adjacency"
, "edgelist"
, "incidence"
, or NULL
directed
logical; should edges be interpreted as directed?
hyper
logical; are hyperedges allowed?
loops
logical; should loops be allowed?
multiple
logical; are multiplex edges allowed?
bipartite
count; should the network be interpreted as bipartite? If present (i.e., non-NULL) it is the count of the number of actors in the bipartite network. In this case, the number of nodes is equal to the number of actors plus the number of events (with all act
ignore.eval
logical; ignore edge values?
names.eval
optionally, the name of the attribute in which edge values should be stored
na.rm
logical; ignore missing entries when constructing the network?
edge.check
logical; perform consistency checks on new edges?