createEvenWeek: Create weeks that are relatively even such that there are 52...

Description Usage Arguments Details Value Author(s)

View source: R/createEvenWeeks.R

Description

This function takes in a calendar data frame that has an entry for every date since a starting point up through today and returns a data frame that has a week number 1-52 that are approximately even starting with Jan 1 as Week 1, day 1.

Usage

1
createEvenWeek(calFrame)

Arguments

calFrame

a data frame containing a column of consecutive dates

Details

This function takes a calFrame and returns a data.frame that contains the date with its corresponding CDC reporting week

Value

a data frame that contains the date and the corresponding even week

Author(s)

Aimie Faucett


BioAimie/dateManip documentation built on May 5, 2019, 3:46 p.m.