Skip to contents

[Deprecated]
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.

Usage

add_ci(df_augment)

plot_ci(df_ci, x)

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.