Description Usage Arguments Value Author(s) See Also

View source: R/computePathMatrix.R

auxiliary file for SID: computes a path matrix efficiently (can probably be made faster) This function takes an adjacency matrix G from a DAG and computes a path matrix for which entry(i,j) being one means that there is a directed path from i to j the diagonal will also be one.

1 | ```
computePathMatrix(G, spars=FALSE)
``` |

`G` |
graph. |

`spars` |
boolean indicating whether G is a sparse matrix. |

pathMatrix

Jonas Peters <jonas.peters@tuebingen.mpg.de>

`structIntervDist`

`computePathMatrix2`

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.