Description Usage Arguments Value Examples
View source: R/mcmc_functions.R
This function compute the logit(pi_ij) = lambda_i - log(exp(lambda_i) + exp(lambda_j))
1 | quality_ratio(x, y)
|
x |
The level of deprivation of the winning area on the exponential scale |
y |
The level of deprivation of the losing area on the exponential scale |
logit(pi_ij)
1 2 3 | #compare areas with levels -2 and 2
qr <- quality_ratio(exp(-2), exp(2))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.