I have a ggplot chart
q3 <- ggplot(y, aes(T,C))+ geom_line()
and the kernel density
den <-density(y$C)
How can I overlay a kernel density chart on the y axis?
Thanks for your help
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Following up on DWin’s idea, this might be the sort of thing you’re looking for:
Note the reversal of the
xandyaesthetics ingeom_point.