View source: R/plot_bearings.R
plot_bearings | R Documentation |
plot_bearings
generates an interactive plot of personal sampling locations
using arrow markers. The direction of the arrows indicate the bearing between
sequential coordinates. Markers are characterized by activity status (mobile
vs. stationary).
plot_bearings(df, dt_field = NULL, divisor = NULL, export_options = FALSE)
df |
a data frame created by |
dt_field |
character; name of datetime field. If specified, the coordinate timestamp is displayed in the plot tooltip. Default = NULL. |
divisor |
numeric; If specified, the input data frame is reduced by a a factor of 1/divisor. A divisor of 2 will omit every other row of the input data frame reducing the data by half. This can be useful to visualize large data sets. Default = NULL. |
export_options |
logical; If TRUE, a drop down menu will be shown in plot area with options to export a static image. Default = FALSE. |
See (hchart
)
a highcharter
vector plot.
## Not run:
plot_bearings(df, dt_field = NULL, divisor = NULL, export_options = FALSE )
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.