Description Usage Arguments Value
Calculates distance between variables d neighbors apart
1 | calc.dist.d.neigbor(ordr.vec, d, dist.type = "spearman")
|
ordr.vec |
An (n by m) ordered matrix of vectors representing realization of random variables. Each column is a variable, and the columns are ordered, here according to chromosomal location. |
d |
Calculate distances between vectors d neighbors apart. |
dist.type |
The type of distance (“spearman", “pearson", “euclid") |
A vector of distances between each vector and the vector d neighbors apart from it. The last d-1 vectors are given infinity distance, so that returned vector is of length m.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.