Generate a Comprehensive Report Plot
plot_report.Rd
Creates a detailed report consisting of various plots to visualize the results of a fitted model within a bipod
object.
The report includes fit plots, breakpoints posterior plots, growth rates posterior plots, and model selection plots.
Usage
plot_report(
x,
fit_type = "complex",
breakpoints_color = "darkgray",
shadows_colors = NULL,
t0_posterior_color = "darkorange",
full_process = FALSE
)
Arguments
- x
A
bipod
object. Must contain a 'fit' and metadata fields for model selection and, optionally, breakpoints and ELBO values.- fit_type
A character string specifying the type of fit plot to generate. Options include "simple" and "complex". (default is "complex")
- breakpoints_color
A character string specifying the color for the breakpoints posterior plot. (default is "darkgray")
- shadows_colors
A character vector specifying colors for shadows in the fit plot. (default is NULL)
- t0_posterior_color
A character string specifying the color for the t0 posterior plot. (default is "darkorange")
- full_process
A logical value indicating whether to include the full process in the fit plot when
fit_type
is "simple". (default is FALSE)