drunkenSim2 | R Documentation |
A drunken turtle starts at the origin and takes unit steps, turning through a randdom angle after each step. We graph the distance from the origin as a function of step-number.
drunkenSim2(steps = 1000, seed = NULL)
steps |
the number of steps the turtle will take |
seed |
The user may provide a seed-value for random-number generation. |
side effects
Homer White homerhanumat@gmail.com
## Not run: drunkenSim2(seed = 3030) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.