Compute the number of sign changes in the sequence y.
计算的数目的符号变化的序列y。
用法----------Usage----------
nr.sign.chg(y)
参数----------Arguments----------
参数:y
numeric vector.
数字矢量。
值----------Value----------
an integer giving the number of sign changes in sequence y. Note that going from positive to 0 to positive is not a sign change.
一个整数,顺序y数的符号变化。请注意,从正到正不是一个符号的改变。