[R] RES: Plot Means Line with Standard Deviation as "Whiskers"

Rodrigo Aluizio r.aluizio at gmail.com
Tue Mar 24 14:05:31 CET 2009


Thanks for the answer, I'll take a look at these, meanwhile I forged some
data as an example of what I'll have soon.

Sam.	Vol.
A1R1	79,40
A1R2	102,09
A1R3	102,09
A2R1	124,78
A2R2 	158,81
A2R3 	153,13
A3R1	226,87
A3R2	164,48
A3R3	153,13
A4R1	181,49
A4R2	175,82
A4R3	170,15
A5R1	175,82
A5R2	175,82
A5R3	289,25
B1R1	119,10
B1R2	204,18
B1R3	232,54
B2R1	164,48
B2R2	113,43
B2R3	130,45
B3R1	102,09
B3R2	107,76
B3R3	107,76
B4R1	136,12
B4R2	158,81
B4R3	198,51
C1R1	76,30
C1R2	70,65
C1R3	62,17
C2R1	76,30
C2R2	70,65
C2R3	73,48
C3R1	50,87
C3R2	84,78
C3R3	110,21
C4R1	141,79
C4R2	175,82
C4R3	102,09
C5R1	90,43
C5R2	113,04
C5R3	141,30
D1R1	62,17
D1R2	42,39
D1R3	53,69
D2R1	67,82
D2R2	67,82
D2R3	59,35
D4R1	68,06
D5R1	153,13
D5R2	119,10
D5R3	119,10
E1R1	141,79
E1R2	85,07
E1R3	107,76
E2R1	130,45
E2R2	175,82
E2R3	107,76
E5R1	158,81
F1R1	51,04
F1R2	90,75
F1R3	85,07
F2R1	73,73
F2R2	68,06
F2R3	73,73
F3R1	34,03
F3R2	39,70
F3R3	39,70
F4R1 	39,70
F4R2	39,70
F4R3	51,04
G1R1	90,75
G1R2	62,39
G2R1	68,06
G2R2	79,40
G2R3	85,07
G3R1	158,81
G3R2	158,81
G3R3	158,81
G5R1	45,37
G5R2	39,70
G5R3	51,04
H1R1	45,37
H1R2	102,09
H1R3	45,37
H2R1	17,01
H2R2	22,69
H2R3	22,69
H3R1	68,06
H3R2	68,06
H3R3	45,37
H4R1	51,04
H4R2	45,37
H4R3	85,07
H5R1	56,72
H5R2	79,40
H5R3	73,73
I1R1	85,07
I1R2	73,73
I1R3	68,06
I2R1	141,79
I2R2	119,10
I2R3	119,10
I3R1	73,73
I4R1	62,39
I4R2	45,37
I4R3	73,73
I5R1	204,18
I5R2	158,81
I5R3	181,49

-----Mensagem original-----
De: Peter Alspach [mailto:PAlspach at hortresearch.co.nz] 
Enviada em: segunda-feira, 23 de março de 2009 19:55
Para: Rodrigo Aluizio; R Help
Assunto: RE: [R] Plot Means Line with Standard Deviation as "Whiskers"

Tena koe Rodrigo

You could always make up some data and then show us what you have tried to
do.  I would guess you need to check out:

plot # to do the basic plot
lines # to add lines to the plot
points # to add points to the plot
arrows # can be used to give the whiskers
apply # to get the means and standard deviations

HTH ....

Peter Alspach

> -----Original Message-----
> From: r-help-bounces at r-project.org 
> [mailto:r-help-bounces at r-project.org] On Behalf Of Rodrigo Aluizio
> Sent: Tuesday, 24 March 2009 11:44 a.m.
> To: R Help
> Subject: [R] Plot Means Line with Standard Deviation as "Whiskers"
> 
> Hi list members.
> 
> I'll try to plot the abundance means of nine transects as 
> lines, with five points on each transect (A to I). I will 
> also need to plot for each point, it's standard deviation 
> (once each point will have tree replicates) as whiskers. 
> Another problem will be that all the points should exist for 
> each transect, but we know that six of the nine transects 
> will have blanks (A1, A2, A3, -, A5). So the line have to be 
> interrupted and can't induce an inexistent value by link A3 
> to A5 (an example).
> 
>  
> 
> Well, unfortunately I still don't have the data, I'm just 
> anticipating a future situation, and I can't find any clear 
> suggestion by "googling" the issue, and I guess the help 
> files may have something but I was unable to find by myself.
> 
>  
> 
> Thanks in advance. Any help will be appreciated.
> 
>  
> 
> -------------------------------------------------------------
> 
> MSc.  <mailto:r.aluizio at gmail.com> Rodrigo Aluizio
> 
> Centro de Estudos do Mar/UFPR
> Laboratório de Micropaleontologia
> Avenida Beira Mar s/n - CEP 83255-000
> Pontal do Paraná - PR - Brasil
> Fone: (0**41) 3455-3620 ramal 217
> Fax: (0**41) 3455-3623
> 
> 
> 
> 
> 	[[alternative HTML version deleted]]
> 
> 

The contents of this e-mail are confidential and may be ...{{dropped:15}}




More information about the R-help mailing list