threeCol2MaxMat | R Documentation |

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

threeCol2MaxMat(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. |

sparce Matrix.

threeCol2MaxMat(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.