rt_add_year_month_factors: as '[.column]_year' and '[.column]_month' factor variables to...

rt_add_year_month_factorsR Documentation

as '[.column]_year' and '[.column]_month' factor variables to .data based off of date column .column

Description

as '[.column]_year' and '[.column]_month' factor variables to .data based off of date column .column

Usage

rt_add_year_month_factors(.data, .column, .abbreviate = FALSE)

Arguments

.data

date vector

.column

name of date column in .data

.abbreviate

use month abbreviations


shane-kercheval/rtools documentation built on July 7, 2022, 8:31 a.m.