pointmassbal | R Documentation |

Function conducting a two component, two node, point estimate mass balance from \insertCitewillsbookBayesMassBal on a two node process. This function is provided for the purpose of comparing the performance of a Bayesian mass balance to a point estimate mass balance using any output of `twonodeSim`

.

pointmassbal(y)

`y` |
A list of matrices of observed mass flow rates. Each matrix is a separate sample component. The rows of each matrix index the sampling location, and the columns index the sample set number. Necessary to format exactly the same as the output of |

Returns a list of vectors with mass flow rates `yhat`

and grades `ahat`

. Similar format to argument `y`

. The index of a vector in the output is equivalent to the index of a row in `y`

.

willsbookBayesMassBal

y <- twonodeSim()$simulation yhat <- pointmassbal(y)$yhat

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.