cbk.plot.spider: Read CASTEML file and create spider diagram

Description Usage Arguments Value See Also Examples

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

Description

Read CASTEML dataframe and create spider diagram. This function does not save the created diagram. You should prepare a canvas in advance.

Usage

1
2
3
cbk.plot.spider(pmlfile_or_stone, opts = NULL, tableunit = "none",
  property = "atomicnumber", reference = "Anders.1989",
  verbose = FALSE, pch = NULL, col = NULL)

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.

property

Property to align x-axis to pass to cbk.periodic.

reference

Reference of element abundance

verbose

Output debug info (default: FALSE).

pch

Array of symbol (default: NULL)

col

Array of color (default: NULL)

Value

A pmlame used to plot the diagram.

See Also

https://github.com/misasa/casteml

Examples

1
2
3
4
5
6
7
8
9
pmlfile <- cbk.path("20081202172326.hkitagawa.pml")
message(sprintf("The pmlfile is located at |%s|.",pmlfile))
pmlame  <- cbk.read.casteml(pmlfile,tableunit="none",category=NULL)
cbk.plot.spider(pmlame)

pmlfile <- cbk.path("20160921173604-511857.pml")
message(sprintf("The pmlfile is located at |%s|.",pmlfile))
pmlame  <- cbk.read.casteml(pmlfile,tableunit="none",category=NULL)
cbk.plot.spider(pmlame)

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