Learn R Programming

lares (version 4.7)

year_month: Convert Date into Year-Month (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

See Also

Other Data Wrangling: balance_data, calibrate, categ_reducer, cleanText, date_feats, dateformat, formatNum, formatTime, holidays, impute, left, normalize, numericalonly, ohse, one_hot_encoding_commas, rbind_full, removenacols, removenarows, replaceall, right, textFeats, textTokenizer, vector2text, year_week