Displaying 4 results from an estimated 4 matches for "mcooganj".
2012 Jun 03
1
fine control of plots after use of layout(matrix ...
Sir,
I would like to create a combined line-bar plot, with the line up top and
bar plot below, but with the x-axes suppressed on the topmost plot, the
line and bar plot areas joined by a common line, and the x-axes (of dates)
joined to the bottom part of the bar plot.
i have been able to format the area using the layout(matrix( ... commands,
but cannot figure out the final step.
here's the
2012 Jun 13
1
what does .indexDate() do - R::xts
Dear R experts,
I am learning the very useful XTS package, but cannot figure out the
purpose of some commands.
in particular, the .indexDate() command does not work as expected.
say:
x <- timeBasedSeq('2010-01-01/2010-01-02 12:00')
x <- xts(1:length(x), x)
then i can subset on date as follows:
x['2010-01-01']
however the .indexDate() command does not work as expected;
2012 Jun 13
2
templated use of aggregate
Dear R-help,
I have an xts data set that i have subset by date.
now it contains a date-time-stamp, and two columns (price and volume
traded): my objective is to create tables of volume traded at a price - and
i've been successfully using aggregate to do so in interactive use.
say the data looks as follows:
px_ym1 vol_ym1
2012-06-01 09:37:00 97.91 437
2012-06-01
2012 Jun 02
1
mtext bug
Sir,
I have hit a the limits of my understanding of text / par / opar etc...
I have a few related xts data frames which have multiple columns, and have
written a for-loop to make a set of charts - however i do not get any
margin text when i run the loop.
when i test the code outside of the loop the margin text appears - however
when i run the loop the margin text does not appear ... what gives?