add_loo | R Documentation |

Deprecated aliases of `add_criterion`

.

```
add_loo(x, model_name = NULL, ...)
add_waic(x, model_name = NULL, ...)
add_ic(x, ...)
## S3 method for class 'brmsfit'
add_ic(x, ic = "loo", model_name = NULL, ...)
add_ic(x, ...) <- value
```

`x` |
An |

`model_name` |
Optional name of the model. If |

`...` |
Further arguments passed to the underlying functions computing the model fit criteria. |

`ic, value` |
Names of model fit criteria
to compute. Currently supported are |

An object of the same class as `x`

, but
with model fit criteria added for later usage.
Previously computed criterion objects will be overwritten.

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.