[R] problem with arrows( )

ikuzar razuki at hotmail.fr
Thu Feb 9 16:08:53 CET 2012


Hello, 

I have got an issue with this code:

plot(...)
xMontant = as.POSIXlt(ecs$startAt[i]) 
xDescendant = as.POSIXlt(ecs$endAt[i])
arrows(xMontant, 0, xMontant, ecsPOW, col="green")

Here is the error:
"Erreur dans arrows(xMontant, 0, xMontant, ecsPOW, col = "green") : 
  premier argument incorrect"

which means:
" Error in arrows(xMontant, 0, xMontant, ecsPOW, col = "green") : 
first argument is inccorrect"

I have got the same error with segment(...) , usign the same arguments.

Does anybody find where is the problem ?
I checked if xMontant is in the right intervale, so it is. That's OK

thanks for your help





--
View this message in context: http://r.789695.n4.nabble.com/problem-with-arrows-tp4373152p4373152.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list