cbk.lame.regulate: Regulate pmlame to extract mean, error, or extra columns

Description Usage Arguments Value See Also Examples

View source: R/cbk.lame.regulate.R

Description

Regulate pmlame to extract mean, error, or extra columns

Usage

1
2
cbk.lame.regulate(pmlame, mean = TRUE, error = TRUE, extra = FALSE,
  chem = NULL)

Arguments

pmlame

A pmlame with row of stone and column of chem [g/g].

mean

Flag to extract mean columns (default: TRUE).

error

Flag to extract error columns (default: TRUE). Note that dataframe return by option(mean=F,error=T,extra=F) is NOT errorlame. To get errorlame, use cbk.lame.fetch.error instead.

extra

Flag to extract extra columns (default: FALSE).

chem

Select only certain chem for mean and error. With chem c('Li','Sr88'), columns of 'Li','Li_error','Sr88','Sr88_error' are selected.

Value

A pmlame with columns of concern

See Also

cbk.lame.fetch.error

Examples

1
2
3
4
pmlfile <- cbk.path("20130528105235-594267.pml")
message(sprintf("The pmlfile is located at |%s|.",pmlfile))
pmlame  <- cbk.read.casteml(pmlfile)
pmlame1 <- cbk.lame.regulate(pmlame)

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