Description Usage Arguments Value Author(s) Examples
View source: R/networkBasedSVM.R
Uses a adjacency matrix to create a adjacency list as
needed for fit.networkBasedSVM
.
1 2 | as.adjacencyList(adjacency.matrix,
skip.redundant.nodes = TRUE, is.directed = FALSE)
|
adjacency.matrix |
a adjacency matrix. |
skip.redundant.nodes |
if |
is.directed |
determines wether or not the graph is directed. |
an adjacency list.
Marc Johannes JohannesMarc@gmail.com
1 2 3 4 5 6 | ## Not run:
library(pathClass)
data(adjacency.matrix)
ad.list <- as.adjacencyList(adjacency.matrix)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.