as.data.frame.network | R Documentation |
data.frame
The as.data.frame
method coerces its input to a data.frame
containing
x
's edges or vertices.
## S3 method for class 'network'
as.data.frame(
x,
...,
unit = c("edges", "vertices"),
na.rm = TRUE,
attrs_to_ignore = "na",
name_vertices = TRUE,
sort_attrs = FALSE,
store_eid = FALSE
)
x |
an object of class |
... |
additional arguments |
unit |
whether a |
na.rm |
logical; ignore missing edges/vertices when constructing the data frame? |
attrs_to_ignore |
character; a vector of attribute names to
exclude from the returned |
name_vertices |
logical; for |
sort_attrs |
logical; should the attribute columns in the returned data frame be sorted alphabetically? |
store_eid |
logical; for |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.