calcAndCountDist | R Documentation |
Given two ascendingly sorted integer vectors query
and reference
, calculate
and count the differences between their elements that are greater than zero
and less than maxd
. The number of observed distances d
are reported in cnt[d]
,
and maxd
corresponds to the length(cnt)
. The function is
called by calcPhasogram
, which provides a higher level, more
conventient interface.
calcAndCountDist(query, reference, cnt)
query |
first |
reference |
second |
cnt |
|
numeric
vector cnt
, where cnt[d]
correspond to
the number of observed distances d
.
Michael Stadler
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.