Displaying 2 results from an estimated 2 matches for "monthindex".
Did you mean:
fontindex
2009 Oct 12
0
combining/overlaying boxplot and barplot
Dear all,
I would like to visualise when days are rainy or dry in bar/boxplots.
Therefore I've tried to combine raingauge data (boxplots) and percentage
of raingauges with 0mm measurements (barplot). See attachment
mei2004.pdf (if it came through).
I've come this far:
barplot(dcp0[monthindex], col="gray", border=NA, axes=F)
boxplot(t(dcpn[monthindex,]), names=dates$day[monthindex], main=month,
outline=F, add=T, ylim=c(0,30), col="lightblue")
Both plots use different x-axis spacing, so May 31 of the barplot
extents further to the right than May 31 boxplot.
So, how...
2011 Jan 12
2
aggredating date data
I tried a date by date forecast of a time series and it seems to be
too wild. How can I aggregate the date into weeks or months as
required?
Thanks.
The input looks like
ID datadate("YYYY-MM-DD") value_for_day
-- ----- -------
-- ------ --------
and I want to be able to change it to
ID dataweek value_for_week
or