wday {dang}R Documentation

wday

Description

Return the day of the week as an integer

Usage

wday(date = Sys.Date())

Arguments

date

A Date object, with the current date as the default

Details

This function simply wraps around the as.POSIXlt function and returns its wday field.

Value

A integer with the weekday component of the date


[Package dang version 0.0.16 Index]