find_zeros_cross: Find distance to first zero

View source: R/functions_range.R

find_zeros_crossR 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.


jpkeller/spconf documentation built on Oct. 20, 2024, 2 a.m.