Description Usage Arguments Value Examples

View source: R/plotting_functions.R

Function to plot the evidence lower bound (ELBO) over iterations to monitor the convergence of the algorithm.

1 | ```
plotELBO(fit)
``` |

`fit` |
fit as produced by |

a ggplot object

1 2 3 | ```
dat <- makeExampleData()
fit <- graper(dat$X, dat$y, dat$annot)
plotELBO(fit)
``` |

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.