Make dealing with dates a little easier


[Up] [Top]

Documentation for package ‘lubridate’ version 0.2.6

Help Pages

A C D E F H I L M N O P R S T W Y

lubridate-package Dates and times made easy with lubridate

-- A --

add_dates Adding date-time objects
add_epoch_to_date Add epochs to dates
am Does date time occur in the am or pm?
as.duration Change an object to a duration (difftime).
as.interval Change an object to an interval.
as.period Change an object to a period.

-- C --

ceiling_date Round date-times up.

-- D --

d Quickly create relative timespans.
DateUpdate Changes the components of a date object
day Get/set days component of a date-time.
day<- Get/set days component of a date-time.
days Quickly create relative timespans.
ddays Quickly create exact time spans.
decimal_date Converts a date to a decimal of its year.
dhours Quickly create exact time spans.
dmicroseconds Quickly create exact time spans.
dmilliseconds Quickly create exact time spans.
dminutes Quickly create exact time spans.
dmy Parse dates according to the order that year, month, and day elements appear
dmy_h Parse dates that have hours, minutes, or seconds elements
dmy_hm Parse dates that have hours, minutes, or seconds elements
dmy_hms Parse dates that have hours, minutes, or seconds elements
dnanoseconds Quickly create exact time spans.
dpicoseconds Quickly create exact time spans.
dseconds Quickly create exact time spans.
dst Get Daylight Savings Time indicator of a date-time.
dur Description of time span classes in lubridate.
duration Description of time span classes in lubridate.
durations Description of time span classes in lubridate.
dweeks Quickly create exact time spans.
dyears Quickly create exact time spans.
dym Parse dates according to the order that year, month, and day elements appear

-- E --

edays Quickly create exact time spans.
ehours Quickly create exact time spans.
emicroseconds Quickly create exact time spans.
emilliseconds Quickly create exact time spans.
eminutes Quickly create exact time spans.
enanoseconds Quickly create exact time spans.
epicoseconds Quickly create exact time spans.
eseconds Quickly create exact time spans.
eweeks Quickly create exact time spans.
eyears Quickly create exact time spans.

-- F --

floor_date Round date-times down.
force_tz Replace time zone to create new date-time
fridays Quickly create common epoch objects

-- H --

hm Create a period with the specified number of hours and minutes
hms Create a period with the specified hours, minutes, and seconds
hour Get/set hours component of a date-time.
hour<- Get/set hours component of a date-time.
hours Quickly create relative timespans.

-- I --

instant Is x a date-time object?
instants Is x a date-time object?
interval Description of time span classes in lubridate.
intervals Description of time span classes in lubridate.
int_end Access and change the end date of an interval
int_end<- Access and change the end date of an interval
int_start Access and change the start date of an interval
int_start<- Access and change the start date of an interval
is.Date Is x a Date object?
is.difftime Is x a difftime object?
is.duration Is x a duration object?
is.instant Is x a date-time object?
is.interval Is x an interval object?
is.period Is x a period object?
is.POSIXct Is x a POSIXct or POSIXlt object?
is.POSIXlt Is x a POSIXct or POSIXlt object?
is.POSIXt Is x a POSIXct or POSIXlt object?
is.timepoint Is x a date-time object?
is.timespan Is x a length of time?

-- L --

lakers Lakers 2008-2009 basketball data set
leap_year Is a year a leap year?
lubridate Dates and times made easy with lubridate

-- M --

m Quickly create relative timespans.
make_difftime Makes a difftime object from a given number of seconds
mday Get/set days component of a date-time.
mday<- Get/set days component of a date-time.
mdy Parse dates according to the order that year, month, and day elements appear
mdy_h Parse dates that have hours, minutes, or seconds elements
mdy_hm Parse dates that have hours, minutes, or seconds elements
mdy_hms Parse dates that have hours, minutes, or seconds elements
microseconds Quickly create relative timespans.
milliseconds Quickly create relative timespans.
minute Get/set minutes component of a date-time.
minute<- Get/set minutes component of a date-time.
minutes Quickly create relative timespans.
mondays Quickly create common epoch objects
month Get/set months component of a date-time.
month<- Get/set months component of a date-time.
ms Create a period with the specified number of minutes and seconds
myd Parse dates according to the order that year, month, and day elements appear

-- N --

nanoseconds Quickly create relative timespans.
new_difftime Create a difftime object.
new_duration Create a duration object.
new_epoch Create an epoch object
new_interval Create an interval object.
new_period Create a period object.
now The current time

-- O --

origin 1970-01-01 GMT

-- P --

parse_date Change dates into a POSIXct format
period Description of time span classes in lubridate.
periods Description of time span classes in lubridate.
picoseconds Quickly create relative timespans.
pm Does date time occur in the am or pm?
pretty.dates Computes attractive axis breaks for date-time data
pretty.day Computes attractive axis breaks for date-time data
pretty.hour Computes attractive axis breaks for date-time data
pretty.min Computes attractive axis breaks for date-time data
pretty.month Computes attractive axis breaks for date-time data
pretty.point Computes attractive axis breaks for date-time data
pretty.sec Computes attractive axis breaks for date-time data
pretty.unit Computes attractive axis breaks for date-time data
pretty.year Computes attractive axis breaks for date-time data

-- R --

round_date Rounding for date-times.

-- S --

saturdays Quickly create common epoch objects
second Get/set seconds component of a date-time.
second<- Get/set seconds component of a date-time.
seconds Quickly create relative timespans.
subtract_dates Subtracting date-time objects
sundays Quickly create common epoch objects

-- T --

thursdays Quickly create common epoch objects
timepoint Is x a date-time object?
timespans Description of time span classes in lubridate.
today The current date
tuesdays Quickly create common epoch objects
tz Get/set time zone component of a date-time.
tz<- Get/set time zone component of a date-time.

-- W --

w Quickly create relative timespans.
wday Get/set days component of a date-time.
wday<- Get/set days component of a date-time.
wednesdays Quickly create common epoch objects
week Get/set weeks component of a date-time.
week<- Get/set weeks component of a date-time.
weeks Quickly create relative timespans.
with_tz Get date-time in a different time zone

-- Y --

y Quickly create relative timespans.
yday Get/set days component of a date-time.
yday<- Get/set days component of a date-time.
ydm Parse dates according to the order that year, month, and day elements appear
ydm_h Parse dates that have hours, minutes, or seconds elements
ydm_hm Parse dates that have hours, minutes, or seconds elements
ydm_hms Parse dates that have hours, minutes, or seconds elements
year Get/set years component of a date-time.
year<- Get/set years component of a date-time.
yearmonthdate Parse dates according to the order that year, month, and day elements appear
years Quickly create relative timespans.
ymd Parse dates according to the order that year, month, and day elements appear
ymdThms Parse dates that have hours, minutes, or seconds elements
ymd_h Parse dates that have hours, minutes, or seconds elements
ymd_hm Parse dates that have hours, minutes, or seconds elements
ymd_hms Parse dates that have hours, minutes, or seconds elements