[R] Speeding up a loop

Rui Barradas ruipbarradas at sapo.pt
Mon Jul 23 18:13:57 CEST 2012


Hello,

I think this is a boundary issue. In your op you've said "less" not 
"less than or equal to".
Try using "<=" and ">=" to see what happens, I bet it solves it.

Rui Barradas

Em 23-07-2012 14:43, wwreith escreveu:
> 1.15           60	0.553555415         0.574892872
> 1.15	   60	0.563183983         0.564029359
>
> Shouldn't the function row out the second one, since it it higher in
> position 3 and lower in position 4 i.e. it should not all be yes?
>
>
>
>
>
> --
> View this message in context: http://r.789695.n4.nabble.com/Speeding-up-a-loop-tp4637201p4637438.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at 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.



More information about the R-help mailing list