View source: R/createMLdataFunctions.R View source: R/MLMSfunctions.R
| all_PA_trap | R Documentation |
all_PA_trap: function to calculate all peak areas using the integration trapezoidal rule (via trapz)
all_PA_trap(start.vec, end.vec, time.vec, int.vec, pk.Nrs)
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 |
a numeric vector containing all the peak areas in V*s
Usage Example
all_PA_trap(start.v1,end.v1,time.s,v44,pk.Nrs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.