date_mdy: Create a 'Date' from month, day and year.

View source: R/datetime_utils.R

date_mdyR Documentation

Create a Date from month, day and year.

Description

Create a Date from month, day and year.

Usage

date_mdy(month, day, year)

Arguments

month

Numeric vector of months

day

Numeric vector of days

year

Numeric vector of years

Value

A vector of Date.

Examples

db <- data.frame(month = 10:12, day = 15:17, year = 1982:1984)
date_mdy(month = db$month, day= db$day, year=db$year)

lbraglia/lbmisc documentation built on April 29, 2024, 11:27 a.m.