Re: [R] Plot multiple variables: label points

2012-08-17 Thread David L Carlson
, TX 77843-4352 > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- > project.org] On Behalf Of Bert Gunter > Sent: Friday, August 17, 2012 9:18 AM > To: cm256 > Cc: r-help@r-project.org > Subject: Re: [R] Plot multiple variables: label po

Re: [R] Plot multiple variables: label points

2012-08-17 Thread cm256
The provided solution is: panel.text <- function(x, y, text, ...) text (x, y, labels = text) pairs(variable[,2:4], pch=19, text = variable$group, lower.panel = panel.text, upper.panel = panel.text) -- View this message in context: http://r.789695.n4.nabble.com/Plot-multiple-variabl

Re: [R] Plot multiple variables: label points

2012-08-17 Thread cm256
I know about the text function, it works well if I plot just 2 variables -> I give the x and the y coordinates, but I doesn't work if i try to do this in this plot whith the multiple variables: *time1 plot plot plot time2 plot plot plot time3* so what would the solution? variable[,2:4] are the c

Re: [R] Plot multiple variables: label points

2012-08-17 Thread Bert Gunter
?text Have you read the "Introduction to R" tutorial. If not, do so before further posting. If so, re-read section 12.2. -- Bert On Fri, Aug 17, 2012 at 6:33 AM, cm256 wrote: > Hello, I have a data.frame with 10-15 entries which looks like this: > > group time1 time2 time3 > 1 F1

[R] Plot multiple variables: label points

2012-08-17 Thread cm256
Hello, I have a data.frame with 10-15 entries which looks like this: group time1 time2 time3 1 F18 4394.500 21043.50 14949.00 2 F25 4678.000 23727.65 15683.12 3 F30 4909.775 23487.60 16724.40 I plot this with: plot(variable[,2:4]) so that a plot with 3 rows and 3 line