[R] xyplot - show values of a series on graph
taz9
alienz747 at gmail.com
Wed Apr 8 20:40:09 CEST 2009
Hi All,
I have a very simple graph:
cars <- c(1, 3, 6, 4, 9)
trucks <- c(2, 5, 4, 5, 12)
year <- c(2004, 2005, 2006, 2007, 2008)
df2<-data.frame(cars,trucks,year)
xyplot(cars+trucks~year, data=df2, type="o")
I need to show the values of "cars" on the graph. How can I do this?
Thanks.
--
View this message in context: http://www.nabble.com/xyplot---show-values-of-a-series-on-graph-tp22956986p22956986.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list