Displaying 1 result from an estimated 1 matches for "myggplot".
2007 Nov 16
1
Exponential Smoothing for ggplot2's stat_smooth()
Hello everyone,
I was wondering if anyone was aware of a way in which I could use ggplot's
stat_smooth() function for add an exponential moving average.
I was thinking that I could maybe use something like:
>myggplot + stat_smooth (method = 'HoltWinters( data , .9 , 0, 0)')
but my efforts were futile.
Perhaps there is a way to write my own custom method to throw into
stat_smooth??
Thanks,
- Mike
[[alternative HTML version deleted]]