Description Usage Arguments Details Value
View source: R/plot_MABM_route.R
This function plots a MABM route (from a shapefile created with MABM_route
)
and, if requested (with the bats
argument), bat calls (by species identification)
detected along the route. To work properly this function requires an internet connection.
1 2 | plot_MABM_route(bad_gps = 5, gps = NULL, plot_type = c("dynamic",
"static"))
|
bad_gps |
integer indicating the absolute maximum number of seconds between a detected bat call and the nearest (in time) GPS location fix the user will consider as a "good" (usually interpreted "usable") georeference for a given bat call. All calls greater than this value will be recorded as having a "bad" georeference. The actual time difference between a bat detection and the closest GPS location is noted in the output under the column heading 'GPS_diff'; positive (negative) values indicate the detection occurred after (before) the associated GPS location. |
gps |
character string that gives user the option to specify the path (full or relative) to the GPS point shapefile rather than using a dialog box |
plot_type |
character choice between a 'dynamic' map using |
With the bats
argument, the user can specify whether all detected calls should be
displayed or only those that meet (or do not meet) a user-specified criterion for a "good"
georeferenced call. This criterion is specified as the number of seconds between a detected
call and the closest (in time) GPS fix.
Species classifications can be turned off using spp = FALSE
.
By default, every third bat detection (when plotted) is labeled with its associated time
stamp and the route is shaded by time (minutes) elapsed from the first GPS fix to help
visualize the route. These can be suppressed with labels = FALSE
.
an HTML widget object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.