@@ -431,14 +431,14 @@ polygon_aggregation <- function(clim_dt, weights_dt, list_names, time_agg, weigh
431431# ' unless `daily_agg = 'none'`)
432432# ' @param start_date the date (and time, if applicable) of the first layer in
433433# ' the stack. To be input in a format compatible with
434- # ' lubridate::as_datetime(), e.g. `" 1991-10-29" ` or `" 1991-10-29 00:00:00" `.
434+ # ' lubridate::as_datetime(), e.g. `' 1991-10-29' ` or `' 1991-10-29 00:00:00' `.
435435# ' The default is `NA` since the spatRasters usually already contain temporal
436436# ' information in the layer names and they do not need to be manually supplied.
437437# ' @param time_interval the time interval between layers in the spatRaster to be
438- # ' aggregated. To be input in a format compatible with seq(), e.g.
439- # ' `'1 day'` or `'3 months'`. The default is `'1 hour'` and this argument is
440- # ' required if daily_agg is not `'none '` or if the `start_date` argument is not
441- # ' `NA`.
438+ # ' aggregated. To be input in a format compatible with
439+ # ' `lubridate::as.duration()` such as `'30 minutes'`, `'2 hours'`, `'1 day'`,
440+ # ' etc. The default is `'1 hour '` and this argument is required if daily_agg is
441+ # ' not `'none'` or if the `start_date` argument is not `NA`.
442442# ' @param weights_join_tolerance the tolerance to use when joining
443443# ' overlay_weights with the climate data by the x and y columns. This is useful
444444# ' when the height/width of your data cells expressed in degrees is a very long
@@ -588,14 +588,14 @@ staggregate_polynomial <- function(data, overlay_weights, daily_agg, time_agg =
588588# ' unless `daily_agg = 'none'`)
589589# ' @param start_date the date (and time, if applicable) of the first layer in
590590# ' the stack. To be input in a format compatible with
591- # ' lubridate::as_datetime(), e.g. `" 1991-10-29" ` or `" 1991-10-29 00:00:00" `.
591+ # ' lubridate::as_datetime(), e.g. `' 1991-10-29' ` or `' 1991-10-29 00:00:00' `.
592592# ' The default is `NA` since the spatRasters usually already contain temporal
593593# ' information in the layer names and they do not need to be manually supplied.
594594# ' @param time_interval the time interval between layers in the spatRaster to be
595- # ' aggregated. To be input in a format compatible with seq(), e.g.
596- # ' `'1 day'` or `'3 months'`. The default is `'1 hour'` and this argument is
597- # ' required if daily_agg is not `'none '` or if the `start_date` argument is not
598- # ' `NA`.
595+ # ' aggregated. To be input in a format compatible with
596+ # ' `lubridate::as.duration()` such as `'30 minutes'`, `'2 hours'`, `'1 day'`,
597+ # ' etc. The default is `'1 hour '` and this argument is required if daily_agg is
598+ # ' not `'none'` or if the `start_date` argument is not `NA`.
599599# ' @param weights_join_tolerance the tolerance to use when joining
600600# ' overlay_weights with the climate data by the x and y columns. This is useful
601601# ' when the height/width of your data cells expressed in degrees is a very long
@@ -773,14 +773,14 @@ staggregate_spline <- function(data, overlay_weights, daily_agg, time_agg = "mon
773773# ' unless `daily_agg = 'none'`)
774774# ' @param start_date the date (and time, if applicable) of the first layer in
775775# ' the raster. To be input in a format compatible with
776- # ' lubridate::as_datetime(), e.g. `" 1991-10-29" ` or `" 1991-10-29 00:00:00" `.
776+ # ' lubridate::as_datetime(), e.g. `' 1991-10-29' ` or `' 1991-10-29 00:00:00' `.
777777# ' The default is `NA` since the rasters usually already contain temporal
778778# ' information in the layer names and they do not need to be manually supplied.
779- # ' @param time_interval the time interval between layers in the raster to be
780- # ' aggregated. To be input in a format compatible with seq(), e.g.
781- # ' `'1 day'` or `'3 months'`. The default is `'1 hour'` and this argument is
782- # ' required if daily_agg is not `'none '` or if the `start_date` argument is not
783- # ' `NA`.
779+ # ' @param time_interval the time interval between layers in the spatRaster to be
780+ # ' aggregated. To be input in a format compatible with
781+ # ' `lubridate::as.duration()` such as `'30 minutes'`, `'2 hours'`, `'1 day'`,
782+ # ' etc. The default is `'1 hour '` and this argument is required if daily_agg is
783+ # ' not `'none'` or if the `start_date` argument is not `NA`.
784784# ' @param weights_join_tolerance the tolerance to use when joining
785785# ' overlay_weights with the climate data by the x and y columns. This is useful
786786# ' when the height/width of your data cells expressed in degrees is a very long
@@ -958,13 +958,14 @@ staggregate_bin <- function(data, overlay_weights, daily_agg, time_agg = "month"
958958# ' `'month'`, or `'year'`
959959# ' @param start_date the date (and time, if applicable) of the first layer in
960960# ' the raster. To be input in a format compatible with
961- # ' lubridate::as_datetime(), e.g. `" 1991-10-29" ` or `" 1991-10-29 00:00:00" `.
961+ # ' lubridate::as_datetime(), e.g. `' 1991-10-29' ` or `' 1991-10-29 00:00:00' `.
962962# ' The default is `NA` since the rasters usually already contain temporal
963963# ' information in the layer names and they do not need to be manually supplied.
964- # ' @param time_interval the time interval between layers in the raster to be
965- # ' aggregated. To be input in a format compatible with seq(), e.g.
966- # ' `'1 day'` or `'3 months'`. The default is `'1 hour'` and this argument is
967- # ' required if the `start_date` argument is not `NA`.
964+ # ' @param time_interval the time interval between layers in the spatRaster to be
965+ # ' aggregated. To be input in a format compatible with
966+ # ' `lubridate::as.duration()` such as `'30 minutes'`, `'2 hours'`, `'1 day'`,
967+ # ' etc. The default is `'1 hour'` and this argument is required if daily_agg is
968+ # ' not `'none'` or if the `start_date` argument is not `NA`.
968969# ' @param weights_join_tolerance the tolerance to use when joining
969970# ' overlay_weights with the climate data by the x and y columns. This is useful
970971# ' when the height/width of your data cells expressed in degrees is a very long
0 commit comments