View source: R/functions_range.R
find_first_zero_cross | R Documentation |
For each column of smoothing matrix, determines smallest distance that corresponds with a negative smoothing weight
find_first_zero_cross(x)
find_zeros_cross(D, S)
x |
Function values, assumed to be ordered |
D |
Distance matrix, or a subset of columns from a distance matrix. |
S |
Smoothing matrix, or a subset of columns from a smoothing matrix. |
Index of first value of x
that lies below 0. Decimal values will be returned using a simple interpolation of the two values straddling 0.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.