Re: [R] How can i draw a graph with high and low data points

2010-07-13 Thread Greg Snow
rom: r-help-boun...@r-project.org [mailto:r-help-boun...@r- > project.org] On Behalf Of Nathaniel Saxe > Sent: Tuesday, July 13, 2010 2:36 AM > To: r-help@r-project.org > Subject: Re: [R] How can i draw a graph with high and low data points > > > I have 5 columns- Trial.Grou

Re: [R] How can i draw a graph with high and low data points

2010-07-13 Thread Nathaniel Saxe
I have 5 columns- Trial.Group, Mean, Standard Deviation, Upper percentile, Lower percentile. Trial.Group 41 subjects: 3 to 4 yrs-Male Mean 444 SD 25 upper 494 lower 393 and all the data is like that. and i wish to recreate this excel tabl

Re: [R] How can i draw a graph with high and low data points

2010-07-09 Thread Tal Galili
Hi Nathaniel , Could you give us a simple example of your data using the ?dput Function? Basically you might want to draw the axis yourself, and connect the lines is possible through using points(..., type = "l") But I'd rather try and answer this with simple example data to be sure I understand

Re: [R] How can i draw a graph with high and low data points

2010-07-09 Thread Nathaniel Saxe
Hi Tal, Thanks for your help. I've had a look at the site, and what i wanted to do was to plot X and Y where X is a characters and Y is numeric. The problem I'm having now is that the X axis isn't characters but just numbers from 1 onwards and when i plot it, the data i have is in descending ord

Re: [R] How can i draw a graph with high and low data points

2010-07-08 Thread Tal Galili
Hi Nathaniel, Here are a few links for (short) articles that can help you get comfortable in doing such tasks: http://www.statmethods.net/graphs/line.html http://www.statmethods.net/graphs/scatterplot.html Here is a tiny example: x <- 1:100 y <- rnorm(100) plot(y~x) lines(loess(y~x)$fitted ~ x

[R] How can i draw a graph with high and low data points

2010-07-08 Thread Nathaniel Saxe
Hi, This is my first time so bear with me if I do anything silly. I'll learn! I'm a relatively new user of R as well so will appreciate any help. I have a data set in the form Trial.Group MeanHeart Rate Upper confidence level Lower confidence level 333subj