all_PA_trap: all_PA_trap: function to calculate all peak areas using the...

View source: R/createMLdataFunctions.R View source: R/MLMSfunctions.R

all_PA_trapR Documentation

all_PA_trap: function to calculate all peak areas using the integration trapezoidal rule (via trapz)

Description

all_PA_trap: function to calculate all peak areas using the integration trapezoidal rule (via trapz)

Usage

all_PA_trap(start.vec, end.vec, time.vec, int.vec, pk.Nrs)

Arguments

start.vec

numeric vector of peak start times

end.vec

numeric vector of peak end times

time.vec

numeric vector of times from the raw data

int.vec

numeric vector of intensities from the raw data

Value

a numeric vector containing all the peak areas in V*s

Examples

Usage Example
all_PA_trap(start.v1,end.v1,time.s,v44,pk.Nrs)

lilyacb/MLMS documentation built on July 21, 2023, 4:12 a.m.