Nothing
Code
is_directed(as.directed(g, mode = "mutual"))
Condition
Warning:
`as.directed()` was deprecated in igraph 2.1.0.
i Please use `as_directed()` instead.
Output
[1] TRUE
Code
is_directed(as.undirected(g, mode = "collapse"))
Condition
Warning:
`as.undirected()` was deprecated in igraph 2.1.0.
i Please use `as_undirected()` instead.
Output
[1] FALSE
Code
as_adjacency_matrix(g, attr = "bla")
Condition
Error in `get.adjacency.sparse()`:
! no such edge attribute
Code
as_adjacency_matrix(g, attr = "bla")
Condition
Error in `get.adjacency.sparse()`:
! Matrices must be either numeric or logical, and the edge attribute is not
Code
as_adjacency_matrix(g, attr = "bla", sparse = FALSE)
Condition
Error in `get.adjacency.dense()`:
! no such edge attribute
Code
as_adjacency_matrix(g, attr = "bla", sparse = FALSE)
Condition
Error in `get.adjacency.dense()`:
! Matrices must be either numeric or logical, and the edge attribute is not
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.