> Hi R users
> Here is an example of my data (only a small part)
> 
> Year Season   A_Time   R_Time     O_Time     All_Time     AandR_Time
> A_number   R_number    O_number    AandR_number    all_number
> 1999 Winter  9.590741 35.312963   42.759524  23.228431  18.164815
> 18                    9                       7             27
> 34
> 2000 Winter  9.899537 47.945000   59.744444  20.301333  18.170290
> 36                    10                      3             46
> 49
> 2001 Winter 12.861364 26.239583   52.350000  23.376068  16.428889
> 22                     8                      8             30
> 38
> 2002 Winter 11.954902 40.245833   49.025000  19.294025  17.343651
> 34            8                       6             42
> 48
> 2003 Winter  6.843750 43.753704   50.533333  16.873246  11.954359
> 56                    9                       10             65
> 75
> 2004 Winter  7.866216 25.808333   48.381481  16.628931  10.369767
> 37                    6                        9             43
> 52
> 2005 Winter 11.225194 26.504762   31.432353  17.684804  13.364333
> 43            7                       17           50           67
> 2006 Winter 11.080000 46.388889   23.820370  17.922414  16.964815
> 15                    3                       9             18
> 27
> 2007 Winter 12.461628 40.722727   25.557576  20.078788  18.218519
> 43                    11                      22           54
> 76
> 
> At the moment I am plotting (using barchart) the A_Time data grouped
> by season then by year.  
> Here is my code that does this.
> 
> barchart(A_Time ~ factor(Season), data= .summary_response, main =
> plottitle1, xlab= "Season", ylab= "Time in Minutes", origin = 0,
> groups= Year)
> 
> I want to add the A_number data to the plot that I have so far and I
> want it as little line bars that match up to the bars already on the
> graph with the axis for the A_number on the right side of the graph
> and with a different scale.
> Any help to do this is greatly appreciated.
> Thanks in advance
> Jacqueline

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to