ionml.read.session: Read a session stored as a series of IONML

Description Usage Arguments Value See Also Examples

View source: R/ionml.read.session.R

Description

Read a session stored as a series of IONML. As of January 5, 2017, this function uses ‘ionml.read.laicpqms’ to read the IONML.

Usage

1
2
3
ionml.read.session(ionml.xml, t0 = 5, t1 = 20, t2 = 25, t3 = 60,
  ref = "Si29", error = "sterr", intensityp = FALSE,
  verbose = FALSE, ionml = TRUE)

Arguments

ionml.xml

Paths to IONML.

t0

When baseline starts (default: 5 s, scalar or vector)

t1

When baseline ends (default: 20 s, scalar or vector).

t2

When ion starts (default: 25 s, scalar or vector).

t3

When ion ends (default: 60 s, scalar or vector).

ref

Reference ion such as ‘Si29’.

error

Use ‘sterr’, ‘DL’, or ‘mix’ as error. When ‘mix’, error is delection limit ‘DL’ instead of standard error ‘sderr’ when DL is larger than ‘sderr’.

intensityp

Have mean and sd of intensity instead of mean and sderr of ionic ratio

verbose

Output debug info (default: FALSE).

ionml

Read IONML file instead of IONCSV (default: TRUE).

Value

Pseudo-pmlame with average and standard error of ionic ratio

See Also

ionml.read.laicpqms

Examples

1
2
3
4
5
6
7
ionmlfile <- cbk.path("ref_cpx_klb1@1.xml")
message(sprintf("The ionmlfile is located at |%s|.",ionmlfile))
pmlame0   <- ionml.read.session(ionmlfile)

files   <- c(cbk.path("ref_cpx_klb1@1.ion"),cbk.path("ref_cpx_klb1@2.ion"),cbk.path("ref_cpx_klb1@3.ion"))
message(sprintf("The files are located at |%s|.",files[1]))
pmlame0 <- ionml.read.session(files,ionml=FALSE)

misasa/chelyabinsk documentation built on Nov. 24, 2020, 5:47 a.m.