Re: [R] problems with abline in a time line scatterplot

2010-12-22 Thread David Winsemius
On Dec 22, 2010, at 6:14 PM, tilapia wrote: Hello R-Users i'm stuck with the following problem: i want to add a trend line to a scatterplot. the x axis is a time line. well it doesnt work, it seems that the function abline is not able to handle the fact, that i used the column Date as a fa

[R] problems with abline in a time line scatterplot

2010-12-22 Thread tilapia
Hello R-Users i'm stuck with the following problem: i want to add a trend line to a scatterplot. the x axis is a time line. well it doesnt work, it seems that the function abline is not able to handle the fact, that i used the column Date as a factor. this is the script: data<-read.table('DO_ha