R/help_date.R

Defines functions help_date

Documented in help_date

#' help_date
#'
#' @param x
#'
#' @return
#' @export
#'
#' @examples
help_date <- function(x){
  print("temp <- as.POSIXlt(newdat$date, format = '%m/%d/%Y') #extract month and day")
  print("newdat$month <- format(temp,'%m')")
  print("newdat$day <- format(temp,'%d')")
  print("newdat$year <- temp$year+3900")
}
RadicalCommEcol/CleanR documentation built on June 23, 2022, 3:14 p.m.