Rotate the turtles
's headings to the right of angle
degrees.
right(turtles, angle) # S4 method for agentMatrix,numeric right(turtles, angle)
turtles 


angle  Numeric. Vector of angles in degrees by which to rotate the 
AgentMatrix
representing the turtles
with updated heading
values.
If a given angle
value is negative, then the turtle rotates to the left.
Wilensky, U. 1999. NetLogo. http://ccl.northwestern.edu/netlogo/. Center for Connected Learning and ComputerBased Modeling, Northwestern University. Evanston, IL.
w1 < createWorld(minPxcor = 0, maxPxcor = 4, minPycor = 0, maxPycor = 4) t1 < createTurtles(n = 10, world = w1) of(agents = t1, var = "heading")#> [1] 263.79130 15.02393 173.18107 127.63246 49.17949 230.15355 261.00908 #> [8] 343.58080 75.21599 145.59065#> [1] 83.79130 195.02393 353.18107 307.63246 229.17949 50.15355 81.00908 #> [8] 163.58080 255.21599 325.59065