search for: seriesnames

Displaying 3 results from an estimated 3 matches for "seriesnames".

Did you mean: seriesname
2009 Jun 25
1
apply on xts
Hi, I do not understand why after I called apply on a function that returns an xts (getIdvAdjSeries) it returns a matrix whose columns are just numeric value of time series in xts instead of a list of xts objects. Basically, I called the following: apply(matrix(tickers,ncol=1),1,FUN=getDivAdjSeries) getDivAdjSeries <- function(ticker) { seriesName <-
2009 Aug 31
1
how to add data to some ts
...a. Most tutorials are about: "Download some S&P data from Yahoo and play around a little". What I want to do is, add data to an existing timeseries. Is there a possibility to add data ? For example if I have something like z <- ts(rnorm(10), start = c(1990, 1), frequency = 1) seriesNames(z) <- "vec" I want to add the next 10 years, like z <- ts(rnorm(10), start = c(2000, 1), frequency = 1) seriesNames(z) <- "vec" If I use something TSreplace the new series starting at 2000 just replaces the existing one instead of just adding another. Is there an...
2011 Jan 03
4
using "plot" with time series object - "axes = FALSE" option does not appear to work
Dear R-help, I am attempting to plot data using standard R plot utilities. The data was retrieved from FRED (St. Louis Federal Reserve) using the package quantmod. My question is NOT about quantmod. While I retrieve data using quantmod, I am not using its charting utility. I have been having success using the standard R "plot" utilities to this point with this type of data.