Learn R Programming

ppsbm (version 1.0.0)

find_ql_diff: Convert index into group pair in tauDown_Q

Description

This function is the inverse of the conversion \({(q,l), q<l}\) into \({1,...,Q*(Q-1)/2}\). Used only in tauDown_Q.

Usage

find_ql_diff(ind_ql, Q)

Value

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

Arguments

ind_ql

Converted \((q,l)\) index

Q

Total number of groups \(Q\)