search for: todminrandomtod

Displaying 1 result from an estimated 1 matches for "todminrandomtod".

2008 Aug 16
0
use of all row elements
...enerating x. ## Generating random time or x coordinate (through random time of displacement - random recall) ## First generating random time within recall period randomrecall<-round(runif(n=1,min=recallmin,max=recallmax)) ## Second generating random time of displacement todrange<-todmax-todminrandomtod<-0for(i in 1:todrange){if (proprand>data[[9+i]] & proprand<=data[[10+i]]) randomtod=i} Following messages are given: Warning messages:1: In 1:todrange : numerical expression has 50 elements: only the first used2: In if (proprand > data[[9 + i]] & proprand <= data[[10 + i...