View source: R/generic_stats.R

statistics_situations | R Documentation |

Compute statistics for simulations of one or several situations with its observations, eventually grouped by a model version (or any group actually).

```
statistics_situations(
...,
obs = NULL,
stat = "all",
all_situations = TRUE,
all_plants = TRUE,
verbose = TRUE,
formater
)
```

`...` |
Simulation outputs (each element= model version), each being a
named list of |

`obs` |
A list (each element= situation) of observations |

`stat` |
A character vector of required statistics, "all" for all, or any
of |

`all_situations` |
Boolean (default = TRUE). If |

`all_plants` |
Boolean (default = TRUE). If |

`verbose` |
Boolean. Print information during execution. |

`formater` |
The function used to format the models outputs and
observations in a standard way. You can design your own function
that format one situation and provide it here (see |

A `tibble::as_tibble()`

with statistics grouped by group
(i.e. model version) and situation

All the functions used to compute the statistics:
`predictor_assessment()`

.

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.