[R] How to display data values for points in a plot?

2010-05-13 Thread Nish
Hello, I would like to know how to display values for points in a plot funtion. For example, plot( y=dat$a, x=dat$b, main="plot1", ylab="a", xlab="b", ylim=c(-10, 10), xlim=c(-10, 10), type = "p", pch=17, col=, cex=1.5

Re: [R] Creating data frames in a loop

2010-05-13 Thread Nish
Thank yoy. this works. -- View this message in context: http://r.789695.n4.nabble.com/Creating-data-frames-in-a-loop-tp2195527p2197780.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz

[R] Creating data frames in a loop

2010-05-11 Thread Nish
Hello, I am new to R and have a question on creating data frames at run time in a loop. How can I create it? For example, something like the following which will create 20 dataframes. for(i in 1:20) { ddat_ <- data other processing... } Thanks. -- View this message in context: http://r.789

Re: [R] Help needed with legend

2010-05-03 Thread Nish
Thank you. It works! -- View this message in context: http://r.789695.n4.nabble.com/Help-needed-with-legend-tp2124457p2124857.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailm

[R] Help needed with legend

2010-05-03 Thread Nish
Hello, I am new to R and need some help with the legend. How can I add a legend for two variables (in two columns) each having multiple values to be explained in the legend. For example: Var 1 Var 2 - Higher - Higher - Avg - Avg - Lower