edata_replace: Replace Values Equal to x with y

View source: R/edata_replace.R

edata_replaceR Documentation

Replace Values Equal to x with y

Description

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

Usage

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

Details

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

Value

data object of the same class as ftmsObj

Author(s)

Lisa Bramer


EMSL-Computing/fticRanalysis documentation built on Dec. 18, 2024, 9:51 p.m.