crossing {cif} | R Documentation |
computes at which observation a vector y crosses ref for the first time
Description
Computes at which observation vector yfor crosses yref for the first time if it is not crossed, then 0 is returned
Usage
crossing(yfor, ref = 0)
Arguments
yfor |
yfor is either a vector and a matrix |
ref |
ref is the refence value |
Value
whensign, a matrix with observation number at which there is crossing
Author(s)
P. Berta, P. Paruolo, S. Verzillo, PG. Lovaglio
References
Berta et al. 2020
[Package cif version 0.1.1 Index]