Replace all variable values < 0 with 0. If first column is location ID (depth/height/time), it will not be processed. Any number of variables (columns) permitted.
Usage
repl0(dat,ID=T,genplot=T,verbose=T)
Arguments
dat
Data series to process. If location is included (e.g., depth), it should be in the first column.
ID
Is a location ID included in the first column? (T or F)