Description Usage Arguments Value
View source: R/business_logic_functions.R
To filter the data with the longest distance measure between two consecutive AIS readings
1 2 3 4 5 | get_longest_ais_gap_data(
current_ship_data,
geo_measure = "geodesic",
round_accu = 0
)
|
current_ship_data |
A tbl_df/tbl/data.frame with a particular ship's AIS data |
geo_measure |
An optional string argument to set accuracy for the geo distance calculation. Can be "haversine" "vincenty", "geodesic", or "cheap" |
round_accu |
An integer to specify the rounding digits accuracy |
A tibble with two consecutive rows of AIS data with the most distance travelled
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.