On Jul 29, 2011, at 8:22 PM, Byerly, Mike M (DFG) wrote:

Is there a function in R that will calculate a running linear slope
similar to the way the function filter() will calculate a moving
average?


If you are happy with the return from filter, then why not take the first differences as the "running slope"?

--

David Winsemius, MD
West Hartford, CT

______________________________________________
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.

Reply via email to