Displaying 1 result from an estimated 1 matches for "tradeflavorbyday".
2012 Aug 28
3
date in plot, can't add regression line
...help but I either am not understanding examples or am missing something completely basic. Here is the problem:
I want to plot data that contains dates on the x axis. Then I want to fit a line to the data. I have been unable to do it.
This is an example of the data (in a dataframe called "tradeflavorbyday"), 40 lines of it (I'm sorry it's not in a runnable form, not sure how to get that from R) :
tradeflavor timestamp x
1 1 2009-01-22 1
2 2 2009-01-22 1
3 1 2009-01-23 1
4 1 2009-01-27 54
5 1 2009-01-28 105
6...