Hi!

Here are a few tips to start finding what you need (in R):
apropos("pie")
RSiteSearch("pie")

Try also:
?pie
?barplot

I guess there are hundreds of commands to do every type of graphics, but you can start there. The manual "Using R for Data Analysis and Graphics" from JH Maindonald is also quite good, among many others!

HTH
Ivan

Le 2/25/2010 09:48, chinna a écrit :
library(RODBC)
ch<- odbcConnect("durga")
sqlQuery(ch, paste("SELECT * from emp"))
sqlQuery(ch, ("SELECT * from xyz"))
         store          revenue       year_y
1      bigbazar      787875        2008
2      more           87876         2008

  plot(revenue ~ year_y, data=xyz, pch=16)


can i get any diffrent types of graphs like pie charts, bar plots.using plot
commands?

please give me suggestions.


______________________________________________
R-help@r-project.org mailing list
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.

Reply via email to