[R] colour input in geom line ggplote2
pushan chakraborty
pushan.zoology at gmail.com
Wed Dec 23 08:43:23 CET 2015
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]]
More information about the R-help
mailing list