as.duration-character-method: as.duration.character

Description Usage Arguments Examples

Description

coerce object to a lubridate duration object

Usage

1
2
## S4 method for signature 'character'
as.duration(x)

Arguments

x

character to convert

Examples

1
2
3
  as.duration( "7.25 days" )
  as.duration( "3600 seconds" )
  as.duration( "1 week" )

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