Generate 95% confidence intervals
ci.Rd
Function to generate 95% confidence intervals using the output
from augment
. add_ci
generates 95
using the fitted values and standard errors, and plot_ci
generates
a ggplot
line chart.
Arguments
- df_augment
Output of
augment
.- df_ci
Output of
add_ci
.- x
Name of variable to plot on the x-axis, passed as a string.