sigthresh: Sigma Threshold C++

Description Usage Arguments Examples

Description

Iteratively converges on a threshold for which the mean of the values below the threshold is sigma standard deviations away from the threshold

Usage

1
sigthresh(x, e, threshold, sigma)

Arguments

x

a vector of values that a sigma threshold needs to be determined for

e

a vector of class "logical" indicating samples that should be excluded from any calculations

threshold

the starting threshold for the iterative algorithm

sigma

the number of standard deviations of separation between the threshold and the mean of the values below the threhold

Examples

1
2
d <- with(highspeed, pva(x,y,1250,1024,768,.38,.30,.67))
sigthresh(d$v,d$blinks,80,5)

RyanHope/gazetools documentation built on May 9, 2019, 10:38 a.m.