oki :D and do you know if there is an inbuilt R pacakage that calculate moving averages over time? i found this , "Calculate various moving averages (MA) of a series." Usage
SMA(x, n=10) EMA(x, n=10, wilder=FALSE) but when i tried SMA , R wouldnt recognize it! and there isnt such a package as SMA in the install packages list either. -- View this message in context: http://n4.nabble.com/random-permuted-block-randomization-tp1401407p1401504.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ 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.