Learn R Programming

ISOweek (version 0.6-2)

thursday0: Date of the nearest Thursday of a given date

Description

This internal function returns the date of the Thursday of the week in which the given date is located.

Usage

thursday0(date)

Arguments

date
Vector which can be coerced to class Date

Value

A vector of dates of the nearest Thursdays

Details

The week starts on Monday and ends on Sunday.