[R] different types graphs

Detlef Steuer detlef.steuer at hsu-hamburg.de
Thu Feb 25 10:08:42 CET 2010


On Thu, 25 Feb 2010 00:48:04 -0800 (PST)
chinna <durgachennu at gmail.com> wrote:

> 
> >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.

try

demo(graphics) for a start

detlef

> -- 
> View this message in context: http://n4.nabble.com/different-types-graphs-tp1568673p1568673.html
> Sent from the R help mailing list archive at Nabble.com.
> 
> ______________________________________________
> R-help at 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.



More information about the R-help mailing list