find_zeros_cross {spconf} | R Documentation |
Find distance to first zero
Description
For a set of distance and smoothing matrix values, determines the smallest distance that corresponds with negative value for each column of the smoothing matrix.
Usage
find_zeros_cross(D, S)
Arguments
D |
Distance matrix, or a subset of columns from a distance matrix. |
S |
Smoothing matrix, or a subset of columns from a smoothing matrix. |
Value
Vector of length equal to the number of columns in D
and S
. Each value is the smallest observed distance (from a column of D
) that has a negative value in the corresponding column of S
.
[Package spconf version 1.0.1 Index]