Description Usage Arguments Value Examples
This works only for routing matrices that include all aggregate source and destination flows. It is often easier to build these indices manually via string processing or during the construction of the routing matrix.
1 |
A |
routing matrix of dimension m x k. This should be the reduced-rank version including all aggregate source and destination flows. |
list consisting of two component, src and dst, which are integer vectors of length k containing the index (in y = A x) of the source and destination flows that each point-to-point flow is part of.
1 2 | data(cmu)
src.dst.ind <- getSrcDstIndices(cmu$A.full)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.