As indicated above, can't get the floor_date command to work. My code is the following:
new_data$month <- floor_date(new_data$datadate, "month")
To which I get the following error message:
Error in floor_date(new_data$datadate, "month") : could not find function "floor_date".
Not sure what the issue is. Any help is appreciated, thanks.