I have three sets of data (df$A, df$B, df$C) and I want to plot the density plots for them (the frequency of each value). I know I can achieve it using plot(density(df$A)).
However, I want to put three density plots in one plot and let the density plots of df$B and df$C serve as the confidence interval band for the density plot of df$A. That is, preferably, the density plots of df$B and df$C can be in lighter colors or even dotted lines.