one way is to use the sign() function, e.g.,
a <- 2
b <- 3
seq(a, b, by = sign(b-a)*0.5)
a <- 3
b <- 2
seq(a, b, by = sign(b-a)*0.5)
I hope it helps.
Best,
Dimitris
On 10/22/2010 11:58 AM, Alaios wrote:
Hello.
I want to create some sequence of numbers . So far I used sequence which does
no
Hi Alex,
Could you give us the values you used, by providing the output of:
dput(CRagent[[1]]$xy[1])
dput(CRagent[[2]]$xy[1])
?
Contact
Details:---
Contact me: tal.gal...@gmail.com | 972-52-7275845
Read me: www.talgalili.com (
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 param
3 matches
Mail list logo