[R-SIG-Finance] Numeric to timeSeries help

Jeffrey Ryan jeff.a.ryan at gmail.com
Mon Mar 26 16:24:43 CEST 2012

?merge.xts is what you need.

It will behave like you'd expect in R - requiring a vector of length ==
nrow of your object, or will be recycled as needed. e.g. cbind(x, NA) will
recycle NA accordingly


On 3/26/12 7:59 AM, "Golam Sakline" <golam.sakline at gmail.com> wrote:

>Can someone quickly help me with few lines of code or point me to a site
>that shows how to merge a numeric class object column with time column of
>getSymbol object and plot it in quantmod chartSeries.
>Much appreciated.
>Thanks in advance
>Sent from my iPhone
>R-SIG-Finance at r-project.org mailing list
>-- Subscriber-posting only. If you want to post, subscribe first.
>-- Also note that this is not the r-help list where general R questions
>should go.

More information about the R-SIG-Finance mailing list