logratios: logratio calculation

View source: R/logratios.R

logratiosR Documentation

logratio calculation

Description

extracts logratio averages from time resolved SIMS data

Usage

logratios(x, i = NULL)

Arguments

x

an object of class drift

i

a vector of mass spectrometer cycles to retain for the logratio calculation. If NULL, uses the entire signal.

Value

an object of class logratios

Examples

## Not run: 
data('SHRIMP',package='simplex')
dc <- drift(x=SHRIMP)
lr <- logratios(dc)
plot(lr,i=1)

## End(Not run)

pvermees/simplex documentation built on Sept. 2, 2023, 12:40 p.m.