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
There are several functions in several packages for plotting intervals that
will give you plots much better than the excel one. The RSiteSearch function
or the sos package may help you find those.
But it is also easy to create such plots using just a few lines of R code and
base graphics.
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
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
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
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)
6 matches
Mail list logo