Dear list I want to put a line command in the following and also want to attribute colour in the geom line command line. It would be a ribbon plot showing the mean line. Is there any help?
p <- ggplot(mtcars, aes(x=carb, y=mpg)) + geom_point() p + stat_summary(geom="ribbon", fun.ymin="min", fun.ymax="max") p + stat_summary(geom="ribbon", fun.ymin="min", fun.ymax="max", alpha=0.2, fill="blue") -- Pushan Chakraborty CSIR - SRF Center for Pollination Studies, University of Calcutta 35, Ballyguanje Circular Road, Kolkata - 700019 & Wildlife Institute of India Chandrabani, Dehradun - 248001 webpage: http://cpscu.in/?page_id=51 Skype: cpushan [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.