Description Usage Arguments Value Author(s) Examples
Distance metric between sets of parameters. Computed as a Euclidean distance in a transformed parameter space. pi0-pi2 are transformed to their inverse logits, as a difference 0.001-0.1 means more than a difference 0.4-0.5. Tau, sigma1, and sigma2 are transformed to sqrt(|x-1|), as differences are most important for values near 1. Rho is transformed to x^2 /2, since differences are only important for large rho.
1 |
pars1 |
an n x 6 matrix of parameters |
... |
additional parameters passed to dist |
an n x m matrix A such that A[i,j] is the distance between pars1[i,] and pars2[j,]
James Liley
1 2 3 | px=pars_start(N=5)
dx=d_par(px)
image(as.matrix(dx))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.