blankcorr: Apply a blank correction

Description Usage Arguments Value Examples

Description

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

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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

1
2
3
4
5
6
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)

ArArRedux documentation built on May 2, 2019, 4:52 a.m.