Description Usage Arguments Value See Also Examples
View source: R/cbk.read.pmlame.R
Return a pmlame that is stored in Medusa. There can be two approach to get the pmlame. (1) The first approach is to downloads a CASTEML file using external program 'gem package – casteml'. (2) The other approach is to download a json data directoly from Medusa.
The essential functions involved in this function as of May 29 (2018) are shown below.
cbk.read.pmlame <returns pmlame> –> cbk.read.casteml <returns pmlame> –> cbk.download.casteml <returns pmlfile> –> cbk.download.pmlame <returns pmlame> –> medusaRClient.read.pmlame <returns pmlame>
1 2 | cbk.read.pmlame(pmlfile_or_stone, opts = NULL, casteml = FALSE,
verbose = TRUE, ...)
|
pmlfile_or_stone |
A CASTEML file that exists locally or stone-ID. |
opts |
List of further options for plot. |
casteml |
Download a CASTEML file using external program 'gem package – casteml' (default: FALSE). |
verbose |
Output debug info (default: TRUE). |
A dataframe with unit organized.
cbk.convert.casteml
,
cbk.read.dflame
, and
https://github.com/misasa/casteml
1 2 3 4 5 | pmlfile <- cbk.path("20081202172326.hkitagawa.pml")
message(sprintf("The pmlfile is located at |%s|.",pmlfile))
pmlame <- cbk.read.pmlame(pmlfile,tableunit="ppm",category="trace")
stone <- "20081202172326.hkitagawa"
pmlame <- cbk.read.pmlame(stone,tableunit="ppm")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.