Description Usage Arguments Value Examples
Given a set of flight groupings, determine the start and end dates of cooresponding detection periods
1 | get_date_bins(raw_data, flight_group)
|
raw_data |
The output of |
flight_group |
A vector specifying the flight grouping. The ordering of flight_group needs to coorespond to the ordering of raw_data. |
Returns a matrix with two columns. The first column specifies the start dates of the detection periods whereas the second column specifies the end dates of the detection periods. The output will be used as the date_bins argument in the function get_best_locations
.
1 2 3 4 | names(raw_data)
flight_group <- flight_group <- c(1,1,1,1,2,2,2,2,3,3,3,3,4,4,5,5,5,5,6,6,7,7,7,7,8,8)
date_bins <- get_date_bins(raw_data, flight_group)
date_bins
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.