Description Usage Arguments Value See Also Examples

Compute vector of indices for efficient access to diagonal of a square matrix

1 | ```
diag_ind(n)
``` |

`n` |
integer dimension of (square) matrix |

integer vector of length n with indices (unidimensional) of square matrix

1 2 |

networkTomography documentation built on May 29, 2017, 4:56 p.m.

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.