View source: R/generate_transects.R
generate_transects | R Documentation |
This function generates a new random layout of transect lines within the Kitimat Fjord System study area using the study design generated with the 'R' package 'dssd' and saved in the 'bangarang' dataset 'study_design', which is meant to guide long-term line-transect distance sampling surveys by Gitga'at collaborators for the years 2024 and beyond.
generate_transects(
write_to = ".",
show_plot = TRUE,
save_to_file = TRUE,
verbose = TRUE,
my_crs = 4326
)
write_to |
The directory to which files should be saved; default is your working directory. |
show_plot |
Print plot of transect plan? |
save_to_file |
Save transect plan to file? |
verbose |
Print status updates to the Console? |
my_crs |
The projection you wish to use when writing the layout to file. Default is WS84, whicih is suitable for British Columbia, Canada. |
Unless options are turned off, this function will display a map of the newly generated transect layout, then save that transect layout to a map file (PDF), a spreadsheet (CSV), and to a GPX file, which can then be loaded onto a boat chartplotter of handheld GPS in order to guide observers along the transects.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.