cbk.lame.fetch.error: Extract error columns from pmlame as errorlame

Description Usage Arguments Value Examples

View source: R/cbk.lame.fetch.error.R

Description

Extract error columns from pmlame as errorlame

Usage

1
cbk.lame.fetch.error(pmlame, chem = NULL)

Arguments

pmlame

A pmlame with both mean and error.

chem

Target chem you want to extract.

Value

An errorlame that is a pmlame of only error colums with label of ‘chem’ such as ‘Li7’ instead of ‘Li7_error’. Note that columns that exist in input will be returned.

Examples

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

errorlame <- cbk.lame.fetch.error(pmlame,c("Li","Lu"))

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