GetMonthYear: Get MonthYear (zoo) from a dataframe string formatted data...

View source: R/utilities.R

GetMonthYearR Documentation

Get MonthYear (zoo) from a dataframe string formatted data column

Description

Get MonthYear (zoo) from a dataframe string formatted data column

Usage

GetMonthYear(datecol, datefmt = "%Y-%m-%d")

Arguments

datecol

A vector of string formatted dates

datefmt

Format of the date (default is Y-m-d)

Value

A vector with dates converted to MonthYear format (zoo::as.yearmon)


saketkc/covmuller documentation built on April 19, 2024, 10:14 a.m.