R Passing A Function To The Ggplot Density Plot Stack Overflow

R Passing A Function To The Ggplot Density Plot Stack Overflow