Description Usage Arguments Value See Also Examples

View source: R/transformations.R

Convert edge list to characteristic vector.

1 | ```
edgeListToCharVec(edgelist, n = NULL)
``` |

`edgelist` |
[ |

`n` |
[ |

[`integer`

] Characteristic vector cv with cv[i] = 1 if the i-th edge is in the tree.

Other transformation functions: `charVecToEdgelist`

,
`nodelistToEdgelist`

,
`permutationToCharVec`

,
`permutationToEdgelist`

,
`prueferToCharVec`

,
`prueferToEdgeList`

1 2 3 4 5 6 7 8 |

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.