base-rep: Replicating 'timeDate' Objects

repR Documentation

Replicating 'timeDate' Objects

Description

Replicate '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)  

timeDate documentation built on Sept. 30, 2022, 5:07 p.m.

Related to base-rep in timeDate...