Skip to contents

Locate crossings

Usage

locate_crossings(x_vec, threshold, type = c("up", "down"))

Arguments

x_vec

Vector which might cross the given threshold

threshold

Threshold-vector

type

locate 'up' or 'down' crossings?