tetratech / baycluster

Cluster Analysis of Long-term Water Quality Trends
GNU General Public License v3.0
2 stars 2 forks source link

createBasePred #22

Open jharcum opened 1 year ago

jharcum commented 1 year ago

"month_num" in below appears deprecated in lubridate. need to replace with "month"

  structure( out.attrs = NULL
    , date_created = Sys.time()
    , start_year = start_year
    , end_year = end_year
    , month_grid = month_grid
    , day_grid = day_grid
    , month_adj = month_adj
    , first_day = floor_date(min(data$date), unit = "month_num")
    , last_day = ceiling_date(max(data$date), unit = "month_num")-1
    , month_order = unique(data$month_num)
  )