surveyTrack | R Documentation |
This function simulates the track points of a typical acoustic survey.
surveyTrack(breakPoints, dotDensity, dcLength, legLength)
breakPoints |
Arguments for changing the position of change for track way. See Details. |
dotDensity |
Density of points for tracks in dots-per-nm. |
dcLength |
Distance from coast in nm (nautical miles) of tracks. |
legLength |
Length of tracks in nm. |
breakpoints
must be a list of 3 levels:
points, which indicates the latitude limits for track sections.
angle, indicating the angle of tracks.
n_tracks, how many tracks by section do you want?
A data.frame
with 4 columns: n, lon, lat and index.
breakPoints <- list(points = c(-4, -6, -15.4, -18.3),
angle = c(180, 210, 240),
n_tracks = c(9, 39, 18))
dotDensity <- 0.1
dcLength <- 5
legLength <- 100
output <- surveyTrack(breakPoints = breakPoints, dotDensity = dotDensity,
dcLength = dcLength, legLength = legLength)
plot(output$lon, output$lat, pch = 19, cex = 0.1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.