powered by
Given a data vector, the function will compare the values to the specified threshold
physics(x, nyu = 0, compare = 1)
data vector
threshold, numeric
logical operation to apply over the threshold. 1: larger; 2: larger or equal; 3: smaller; 4: smaller or equal; 5 equal
list of positions which do not pass this QC test. If all positions pass the test, returns NULL
# NOT RUN { x<-rnorm(100) x[10]<-100 physics(x,5,1) # }
Run the code above in your browser using DataLab