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)

Arguments

df

a data frame created by circleclust() containing column activity_status

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.

Value

a highcharter vector plot.

Details

See (hchart)

Examples

if (FALSE) {
plot_bearings(df, dt_field = NULL, divisor = NULL, export_options = FALSE )
}