[R] Making a function and applying it over a list(?)

2013-10-24 Thread Lasse Thorst
Hi All I've gotten some awesome help getting a formular that finds the intersection of two vectors. This works brilliantly, but I can't figure out how to make it run over another factor. A simple example looks likes this: df <- data.frame( id = factor(rep(c("supply", "demand"), each =

[R] Saving forecast.Arima as data

2013-07-11 Thread Lasse Thorst
20.72 35.45 Now I want to just extract the forecast (ex. 30.96, 30.71, 30.76) - How can I do that? Kind Regards, Lasse Thorst [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-hel