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] 95.78847 330.45904 205.12907 347.92123 30.96094 242.81263 32.12242 #> [8] 82.53666 298.16935 31.10617#> [1] 275.78847 150.45904 25.12907 167.92123 210.96094 62.81263 212.12242 #> [8] 262.53666 118.16935 211.10617