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]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.