Dfloor: Date Floor

Description

Date Floor in a Dating

Usage

1
Dfloor(dte, dating=Daily)

Arguments

dte

a Date or POSIXt object

dating

a Dating object

Value

Returns the greatest date belonging to the dating which is less or equal than the indicated one.

See Also

See also the functions Dceiling and Dround

Examples

1
2
# Obtain the first day of the current month
Dfloor(Sys.Date(), Monthly)

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.