This function finds all values of x in the e_data element of ftmsObj and replaces them with y

edata_replace(ftmsObj, x, y)

Arguments

ftmsObj

an object of the class 'peakData', or 'compoundData'

x

value to be replaced, usually numeric or NA

y

replacment value, usually numeric or NA

Value

data object of the same class as ftmsObj

Details

This function is often used to replace any 0 values in e_data with NA's.

Author

Lisa Bramer