rep {timeDate}R Documentation

Replicating 'timeDate' objects

Description

Replicates "timeDate" objects.

Usage

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

Arguments

x

an object of class "timeDate".

...

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

Value

an object of class "timeDate".

Examples

## 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)  

[Package timeDate version 4032.109 Index]