make_step | R Documentation |
make_step
determines the new position of the vessel
following a move, using the step distance and bearing inputs.
make_step(stepD, Bear, start.x, start.y)
stepD |
is a Numeric vector of the distance to move |
Bear |
is a Numeric vector of the bearing to move (in degrees) |
start.x |
is the starting point on the x-axis |
start.y |
is the starting point on the y-axis |
returns a new coordinate position through a vector (x, y)
make_step(stepD = 20, Bear = 90, start.x = 20, start.y = 5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.