Hello.
I want to create some sequence of numbers . So far I used sequence which does 
not work always

seq(CRagent[[1]]$xy[1],CRagent[[2]]$xy[1],by=0.01)
Error in seq.default(CRagent[[1]]$xy[1], CRagent[[2]]$xy[1], by = 0.01) : 
  wrong sign in 'by' argument
Calls: seq -> seq.default


if the parameters are in descending form.


The ideal would be to be able to use seq like this

seq(2,3,by=0.5) --> 2,2.5,3
seq(3,2,by=0.5)-->3,2.5,2

Could you please help me implement this?

I wouldl ike to thank you in advance for your help

Best Regards
Alex


      
        [[alternative HTML version deleted]]

______________________________________________
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.

Reply via email to