networkLitemethods | R Documentation |
S3 methods for networkLite class, for generics defined in network package.
## S3 method for class 'networkLite' get.vertex.attribute(x, attrname, ...) ## S3 method for class 'networkLite' set.vertex.attribute(x, attrname, value, v = seq_len(network.size(x)), ...) ## S3 method for class 'networkLite' list.vertex.attributes(x, ...) ## S3 method for class 'networkLite' get.network.attribute(x, attrname, ...) ## S3 method for class 'networkLite' set.network.attribute(x, attrname, value, ...) ## S3 method for class 'networkLite' list.network.attributes(x, ...) ## S3 method for class 'networkLite' network.edgecount(x, ...) ## S3 method for class 'networkLite' as.edgelist(x, output = c("matrix", "tibble"), ...) ## S3 method for class 'networkLite' mixingmatrix(object, attr, ...) ## S3 replacement method for class 'networkLite' x[i, j] <- value ## S3 method for class 'networkLite' print(x, ...) ## S3 method for class 'networkLite' network.naedgecount(x, ...) ## S3 method for class 'networkLite' add.edges( x, tail, head, names.eval = NULL, vals.eval = NULL, ..., check.unique = FALSE ) as.networkLite(x, ...) ## S3 method for class 'network' as.networkLite(x, ...) ## S3 method for class 'networkLite' as.networkLite(x, ...)
x |
a |
attrname |
the name of an attribute in |
... |
any additional arguments. |
value |
Value to set edges to (must be FALSE for networkLite method) |
v |
indices at which to set vertex attribute values. |
output |
Type of edgelist to output. |
object |
a |
attr |
specification of a vertex attribute in |
i, j |
Nodal indices (must be missing for networkLite method) |
tail |
vector of tails of edges to add to the networkLite |
head |
vector of heads of edges to add to the networkLite |
names.eval |
currently unsupported by add.edges.networkLite |
vals.eval |
currently unsupported by add.edges.networkLite |
check.unique |
should a check to ensure uniqueness of edges in the final edgelist be performed? |
Allows use of networkLite objects in ergm_model
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.