Learn R Programming

lares (version 4.4)

year_month: Convert year month format YYYY-MM

Description

This function lets the user convert a date into YYYY-MM format

Usage

year_month(date)

Arguments

date

Date. Date we wish to transform