Description Usage Arguments Value Examples

This function is the inverse of the conversion *{(q,l), q,l} * into *{1,...,Q^2}* for the directed case *{(q,l), q<= l}* into *{1,...,Q*(Q+1)/2}* for the undirected case.
It takes the integer index corresponding to *(q,l)* and returns *(q,l)*.

1 |

`ind_ql` |
Converted |

`Q` |
Total number of groups |

`directed` |
Boolean for directed (TRUE) or undirected (FALSE) case |

Group pair *(q,l)* corresponding to the given index

1 2 3 4 5 6 7 8 9 10 11 |

ppsbm documentation built on March 19, 2018, 5:03 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.