Learn R Programming

ArArRedux (version 0.1)

blankcorr: Apply a blank correction

Description

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

Usage

blankcorr(x, ...)

## S3 method for class 'default': 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

Examples

Run this code
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$covmat)

Run the code above in your browser using DataLab