cbk.read.casteml: Read CASTEML file and return a pmlame

Description Usage Arguments Details Value See Also Examples

View source: R/cbk.read.casteml.R

Description

Read CASTEML file and return a pmlame.

Usage

1
2
cbk.read.casteml(pmlfile_or_stone, opts = NULL, tableunit = "none",
  category = NULL, force = TRUE, verbose = TRUE)

Arguments

pmlfile_or_stone

A CASTEML file that exits locally or stone-ID.

opts

List of further options for plot.

tableunit

Output unit that will be resolved by cbk.convector() (default: "none").

category

Category specifier that is passed to casteml convert.

force

Force read pmlfile with duplicated acquisitions (default: TRUE).

verbose

Output debug info (default: TRUE).

Details

This function converts a CASTEML file to a csvfile by ‘cbk.convert.casteml()’ and read it by ‘cbk.read.dflame()’.

Value

A dataframe with unit organized.

See Also

cbk.convert.casteml, cbk.read.dflame, and https://github.com/misasa/casteml

Examples

1
2
3
4
5
pmlfile <- cbk.path("20081202172326.hkitagawa.pml")
message(sprintf("The pmlfile is located at |%s|.",pmlfile))
pmlame  <- cbk.read.casteml(pmlfile,tableunit="ppm",category="trace")
stone   <- "20081202172326.hkitagawa"
pmlame  <- cbk.read.casteml(stone,tableunit="ppm",category="trace",force=TRUE)

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