memoised: Memoised functions

Description Usage Arguments Details

Description

Memoized versions of functions that can benefit from memoisation.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
ceiling_date_memo(
  x,
  unit = "seconds",
  change_on_boundary = NULL,
  week_start = getOption("lubridate.week.start", 7)
)

floor_date_memo(
  x,
  unit = "seconds",
  week_start = getOption("lubridate.week.start", 7)
)

ymd_memo(
  ...,
  quiet = FALSE,
  tz = NULL,
  locale = Sys.getlocale("LC_TIME"),
  truncated = 0
)

Arguments

...

additional arguments

Details

These functions have been memoised for speed and cache the return values associated with their arguments.


decisionpatterns/lubridate.tools documentation built on July 30, 2020, 4:24 a.m.