result.as.means.and.errs | R Documentation |

Takes a result row and returns the means and error amounts as separate vectors in a matrix or list.

```
result.as.means.and.errs(result.row, simplify = T)
```

`result.row` |
a result row, ie: a vector with values named Mean and Lower eg: > envs$'Scenario 1'$years1_5$run_results_collated$means$kids["Total",] Mean Lower Upper 10.99488 10.62256 11.36721 if there are no values named Mean, then it will be assumed that all values are Means and that Lower is 0. |

`simplify` |
if TRUE (default), returns a matrix instead of a list. |

a matrix/list of means and errs. The first row/means vector is the means from the result row, and the second row/errs vector is the difference between each mean and it's lower value.

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.