make_month_index: Create a month index for analysis and plotting

Description Usage Arguments Value Examples

Description

Create a month index for analysis and plotting

Usage

1
make_month_index(df, SLS_YR, SLS_MNTH_INT)

Arguments

df

Data Frame: Data set you want an index for

SLS_YR

Bare Column Name: Name of column containing the year as integer

SLS_MNTH_INT

Bare Column Name: Name of column containing the month as integer

Value

Data Frame containing the columns provided as SLS_YR, SLS_MNTH_INT and a index

Examples

1
2
3
make_month_index(data.frame(SLS_YR = c(2016, 2017),
SLS_MNTH_INT = c(10,4)),
SLS_YR = SLS_YR, SLS_MNTH_INT = SLS_MNTH_INT)

TonyBlonigan/miscFormatR documentation built on May 14, 2019, 6:08 a.m.