Blogger

Delete comment from: One R Tip A Day

Paolo said...

Dear Yoonjeong,
Not a solution, but a starting point:

library(ggplot2)
ggplot()+ geom_density(aes(x=y1), colour="red", fill="red", alpha=0.3) + geom_density(aes(x=y2), colour="blue", fill="blue", alpha=0.3)

HIH!

Aug 16, 2013, 11:14:38 PM


Posted to Highlight overlapping area between two curves

Google apps
Main menu