View source: R/fidelity_funs_calc-coords-from-step.R
end_coords | R Documentation |
Function to calculate end point coordinates from step and turning angle.
Called by sim_bcrw()
.
end_coords(step, angle, start_x, start_y)
step |
Numeric. Step length (m for UTM coordinates, degrees for lat/long) |
angle |
Numeric. Turning angle (degrees) |
start_x |
Numeric. The X coordinate of the start location (UTM Easting or longitude) |
start_y |
Numeric. The Y coordinate of the start location (UTM Northing or latitude) |
Code adapted from https://rdrr.io/github/ptompalski/UsefulRFunctions/src/R/circular2xy.R
A data frame containing the end points coordinates from the step and turning angle input.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.