Report n
random ycor
coordinates within the world
's extent.
randomYcor(world, n) # S4 method for worldNLR,numeric randomYcor(world, n)
world 


n  Integer. 
Numeric. Vector of length n
of ycor
coordinates.
Wilensky, U. 1999. NetLogo. http://ccl.northwestern.edu/netlogo/. Center for Connected Learning and ComputerBased Modeling, Northwestern University. Evanston, IL.
Sarah Bauduin
w1 < createWorld(minPxcor = 0, maxPxcor = 4, minPycor = 0, maxPycor = 4, data = runif(25)) t1 < createTurtles(n = 10, coords = cbind(xcor = randomXcor(world = w1, n = 10), ycor = randomYcor(world = w1, n = 10))) plot(w1)