R/plot.likelihood_function.R
plot_ci_levels.RdPlot likelihood with multiple confidence levels
plot_ci_levels(x, parameter = NULL, ci_levels = c(0.5, 0.68, 0.9, 0.95,
0.99), n_points = 200, colors = NULL, ...)A likelihood_function object
Name of the parameter to plot. If NULL, uses the first parameter.
Numeric vector of confidence levels to display (default: 50%, 68%, 90%, 95%, 99%)
Number of parameter values for profile likelihood evaluation
Character vector of colors for each confidence level. If NULL,
automatically generated as a gradient from blue to red.
Additional arguments passed to plot
Invisibly returns NULL
Plots a single likelihood function with colored interval bands at multiple confidence levels, allowing visual comparison of interval widths and how confidence intervals change with level.