This function applies the prior weights on the pairs for the numerator (for generality) and denominator and returns the log-likelihood ratios in a tidy format

extract_logls(Q, numer, denom)

Arguments

Q

a Qij object. Like that returned by simulate_Qij

numer

a named vector of weights to be given to the relationships for the numerator. The names are the relationships and the values are the weights. Relationships that appear in the "Tos" field of the Q that do not appear will get weights of 0.

denom

a named vector of weights to be given to the relationships for the denominator. The names are the relationships and the values are the weights. Relationships that appear in the "Tos" field of the Q that do not appear will get weights of 0.