R/as.my.R

#' Title
#'
#' as.my converts month and year to date.
#'
#' @param month month
#' @param year year
#' @param format format
#'
#' @return return a data vector
#' @export
#'
#' @examples
as.my <- function (month, year, format = '%d/%m/%Y') {
  as.Date(paste(1, month, year, sep = '/'), format = format)
}
gabrielzanlorenssi/extfunctions documentation built on Dec. 30, 2019, 6:37 p.m.