Description Usage Arguments Value Examples
View source: R/cbk.plot.balance.R
Balance quantity of elements in whole rock and phases. This calculates quantity of elements in each phases from mode and element abundances of each phase. Then from calculated whole-rock (WR) quantity of element by summation and measured WR quantity of element, this estimates surplus or deficit of elements.
1 2 | cbk.plot.balance(pmlame_or_file, reflame_or_file, modeinfo,
verbose = FALSE)
|
pmlame_or_file |
A pmlame or CASTEML or TBLAME.csv with element abundance of phases without measured WR |
reflame_or_file |
A pmlame or CASTEML or TBLAME.csv with element abundance of measured WR |
modeinfo |
A pmlame or TBLAME.csv with mode and density of phases including WR |
verbose |
Output debug info (default: FALSE). |
A pmlame with element quantities and mode of phases
1 2 3 4 5 6 | reflame <- cbk.ref("Anders.1989",property=cbk.periodic("atomicnumber"))
pmlfile <- cbk.path("demo-trc0.pml")
message(sprintf("The pmlfile is located at |%s|.",pmlfile))
modeinfo <- cbk.path("demo-mode0.csv")
message(sprintf("The modeinfo is located at |%s|.",modeinfo))
MM <- cbk.plot.balance(pmlfile,reflame,modeinfo)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.