It's ok, i solved it. It wasn't an integer, -- View this message in context: http://r.789695.n4.nabble.com/x-values-must-be-positive-tp3381744p3381859.html Sent from the R help mailing list archive at Nabble.com.