Description Usage Arguments Details Value Examples
align.idx
returns the index of the alignment of x
on y
1 |
x |
the |
y |
the |
start |
scalar or vector of same length as |
end |
scalar or vector of same length as |
In order to perform the alignment, intervals are created around
each elements in y
using start
and end
. For
each such interval, the closest element in x
is chosen. If
no element in x
falls in the interval, then NaN is
returned.
a vector of indices of the same length as y
; this
vector indexes into x
and represents the points in
x
that are aligned with the points in y
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.