Skip to content
Prev 245656 / 398503 Next

problems with abline in a time line scatterplot

On Dec 22, 2010, at 6:14 PM, tilapia wrote:

            
So you have either character or numeric variables and very likely the  
column named Date is a character variable.
You will be getting a separate estimate for each separate Date other  
than the first.
The problem lies in your lack of knowledge about how to convert a  
character vector into a data vector as well as you lack of  
understanding regarding lm(). Once you correct these deficits then  
abline will probably work as intended.