Description Usage Arguments Value Examples

This function takes a three vectors of equal length (source nodes, target nodes, and edge weights) and return the adjacency matrix as a list of vectors.

1 2 | ```
threeCol2listMat(a = c("a", "b", "c", "c"), b = c("a", "b", "b", "b"),
v = c(1, 2, 3, 4))
``` |

`a` |
(vector): vector of source node names. |

`b` |
(vector): vector of target node names. |

`v` |
(vector): vector of edge weights names. |

list of vectors matrix representation.

1 | ```
threeCol2listMat(a = c("a","b","c","c"), b = c("a","b","b","b"), v = c(1,2,3,4))
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.