plot_bearings: Plot Bearings

View source: R/plot_bearings.R

plot_bearingsR Documentation

Plot Bearings

Description

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).

Usage

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.

Details

See (hchart)

Value

a highcharter vector plot.

Examples

## Not run: 
plot_bearings(df, dt_field = NULL, divisor = NULL, export_options = FALSE )

## End(Not run)


wolfeclw/circleclust documentation built on Aug. 13, 2024, 3:33 a.m.