
Deprecated function to convert Routes to BirdFlowRoutes
Source:R/as_BirdFlowRoutes.R
as_BirdFlowRoutes.RdThis function is deprecated. Please use as_birdflow_routes() instead.
Usage
as_BirdFlowRoutes(
routes,
bf,
aggregate = "random",
valid_only = TRUE,
sort_id_and_dates = TRUE,
reset_index = FALSE
)Arguments
- routes
A
Routesobject.- bf
A
BirdFlowobject for spatial and temporal reference.- aggregate
The aggregation method if more than one timestep is presented in a route. Options include
mean,median,midweek,random. Default torandom. See snap_to_birdflow for a description of each aggregation method.- valid_only
Logical. Should only valid points be included? Defaults to
TRUE.- sort_id_and_dates
Logical. Should data be sorted by route ID and date? Defaults to
TRUE.- reset_index
Logical. Should indices be reset after sorting? Defaults to
FALSE.
See also
as_birdflow_routes() should be used instead of this function.