plot_elbo: Plots the ELBO

Description Usage Arguments Value Examples

View source: R/plotting.R

Description

Plots the evidence lower bound (ELBO) as a function of iterations

Usage

1
plot_elbo(fit)

Arguments

fit

An object returned by a call to phenopath

Value

A ggplot2 object of the ELBO against the number of iterations

Examples

1
2
3
sim <- simulate_phenopath()
fit <- phenopath(sim$y, sim$x)
plot_elbo(fit)

phenopath documentation built on Nov. 8, 2020, 6:53 p.m.