This function finds all values of x in the e_data element of ftmsObj and replaces them with y
edata_replace(ftmsObj, x, y)
an object of the class 'peakData', or 'compoundData'
value to be replaced, usually numeric or NA
replacment value, usually numeric or NA
data object of the same class as ftmsObj
This function is often used to replace any 0 values in e_data
with NA's.