Paolo Rossi
2011-Apr-15 14:33 UTC
[R] Adding Time Series to data.frame without knowing the name of teh time series
Hello, quick question I reckon. Is there a way to add to time series to a dataframe without knowing their name in advance? I can figure it out the following but wondered if there is a better way Thanks Paolo a = data.frame(i = rep(100, 12)) colnames(a)[length(colnames)] = i [[alternative HTML version deleted]]