Re: [R] Panel plots for means of cyclical observations

2016-01-16 Thread Duncan Mackay
ject.org Subject: [R] Panel plots for means of cyclical observations I want to create a panel plot using xyplot of a line graph whose x-axis is months of the year and y-axis is the average rainfall in a given month over the 6 years the data spans. There should be two levels in this panel plot: od

Re: [R] Panel plots for means of cyclical observations

2016-01-15 Thread Richard M. Heiberger
## Kieran, ## I think the root problem is that you allowed the levels of month to be alphabetical. ## continuing with your example ##You need to take control of the levels with a statement like levels(z$month) z$month <- factor(z$month, levels=monthsOfYear) levels(z$month) ## now you can write s

[R] Panel plots for means of cyclical observations

2016-01-15 Thread Kieran
I want to create a panel plot using xyplot of a line graph whose x-axis is months of the year and y-axis is the average rainfall in a given month over the 6 years the data spans. There should be two levels in this panel plot: odd and even months. Creating this plot without splitting it into level