timeDate (version 4032.109)

rep: Replicating 'timeDate' objects

Description

Replicates "timeDate" objects.

Usage

# S3 method for timeDate
rep(x, ...)

Value

an object of class "timeDate".

Arguments

x

an object of class "timeDate".

...

arguments passed to the method for 'POSIXct', rep.

Examples

Run this code
## rep - 
   dts = c("1989-09-28", "2001-01-15", "2004-08-30", "1990-02-09")
   ZUR = timeDate(dts, zone = "GMT", FinCenter = "Europe/Zurich")

   rep(ZUR[2], times = 3)
   rep(ZUR[2:3], times = 2)  

Run the code above in your browser using DataLab