I am trying to plot some density plots overlaid on each other using ggplot
ggplot(den2, aes(x = V1,y=V2, fill = lines)) + geom_density()
However I'm getting this error: Error in if (nrow(layer_data) == 0) return() : argument is of length zero
Can someone tell me whats going wrong? Data den2 can be found here: https://drive.google.com/file/d/0ByW0yQz1oPLZNV93UVlrSXF0X28/view?usp=sharing
Thanks!!