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. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.