Plot Beta Estimates with Confidence Intervals
plot_beta_with_ci.Rd
Generates a line plot of Beta estimates with their 95% confidence intervals for a specified curve.
This function computes the 95% confidence intervals for Beta estimates using the fitted values and
covariance matrix from the vd_fit
object. The resulting plot displays the Beta estimates, lower confidence bounds,
and upper confidence bounds as separate lines.
Examples
if (FALSE) { # \dontrun{
if (requireNamespace("ggplot2", quietly = TRUE)) {
# Assuming `fit` is an object of class 'vd_fit'
plot_beta_with_ci(fit, curve = 1)
}
} # }