[R] x,y scatterplots, with averaging by a column
    Tim Richter-Heitmann 
    trichter at uni-bremen.de
       
    Mon Jun 30 10:42:28 CEST 2014
    
    
  
Hallo!
I have this matrix:
SampleID, Day, Species1, Species2,Species3,...,Speciesn
1,Monday,abundance values
2,Monday,abundance values
11,Tuesday,abundance values
12,Tuesday,abundance values
21,Wednesday,abundance values
22,Wednesday,abundance values
I would like to plot the Days on the x-axis, and the species abundance 
data on the y-axis. Each pair of values (i just have two measurements 
for each day) should be represented by their mean with absolute error 
bars (so we have basically a vertical min,max-range) and whiskers. The 
means for each Species observation should be connected with lines.
Also of interest would be annotating the whispers with their sample ID 
(because the whiskers basically represent the values for y1,2 (11,12; 
21,22)).
Any help is welcome! I am new to R, so please bear with me. Thank you!
-- 
Tim Richter-Heitmann (M.Sc.)
PhD Candidate
International Max-Planck Research School for Marine Microbiology
University of Bremen
Microbial Ecophysiology Group (AG Friedrich)
FB02 - Biologie/Chemie
Leobener Straße (NW2 A2130)
D-28359 Bremen
Tel.: 0049(0)421 218-63062
Fax: 0049(0)421 218-63069
    
    
More information about the R-help
mailing list