cbk.plot.ree: Read CASTEML file and create REE diagram

Description Usage Arguments Value See Also Examples

View source: R/cbk.plot.ree.R

Description

Read CASTEML dataframe and create REE diagram. This function tris to blow errorbar. If you do not see errorbar, check pmlame that you feed.

Usage

1
2
cbk.plot.ree(pmlfile_or_stone, opts = NULL, tableunit = "none",
  reference = "Anders.1989", verbose = FALSE, ...)

Arguments

pmlfile_or_stone

A CASTEML file that exits locally or stone-ID (or pmlame).

opts

List of further options for plot. See cbk.plot.

tableunit

Unit to toss to cbk.read.casteml.

reference

Reference of element abundance.

verbose

Output debug info (default: FALSE).

...

Graphical options that are passed to matplot and legend, such as ‘col’ and ‘pch’.

Value

@return A pmlame used to plot the diagram.

See Also

https://github.com/misasa/casteml

Examples

1
2
3
4
5
6
7
8
pmlfile <- cbk.path("20081202172326.hkitagawa.pml")
message(sprintf("The pmlfile is located at |%s|.",pmlfile))
cbk.plot.ree(pmlfile)

pmlfile <- cbk.path("20160921173604-511857.pml")
message(sprintf("The pmlfile is located at |%s|.",pmlfile))
pmlame  <- cbk.read.casteml(pmlfile)
cbk.plot.ree(pmlame)

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