blankcorr {ArArRedux}R Documentation

Apply a blank correction

Description

Applies a blank correction to some time-resolved mass spectrometer data

Usage

blankcorr(x, ...)

## Default S3 method:
blankcorr(x, ...)

## S3 method for class 'timeresolved'
blankcorr(x, blanklabel = NULL, prefix = "", ...)

## S3 method for class 'PHdata'
blankcorr(x, blanklabel = NULL, prefix = "", ...)

Arguments

x

an object of class timeresolved or PHdata

...

other arguments

blanklabel

as string denoting the prefix of the blanks

prefix

a string to be prepended to the non-blanks

Value

an object of class blankcorrected

Examples

samplefile <- system.file("Samples.csv",package="ArArRedux")
masses <- c("Ar37","Ar38","Ar39","Ar40","Ar36")
m <- loaddata(samplefile,masses) # samples and J-standards
blanklabel <- "EXB#"
l <- fitlogratios(blankcorr(m,blanklabel),"Ar40")
plotcorr(l)

[Package ArArRedux version 1.0 Index]