Learn R Programming

timeDate (version 4041.110)

c: Concatenating 'timeDate' objects

Description

Concatenates "timeDate" objects.

Usage

# S3 method for timeDate
c(..., recursive = FALSE)

Value

an object of class "timeDate"

Arguments

recursive

a logical. If recursive is set to TRUE, the function recursively descends through lists combining all their elements into a vector.

...

arguments passed to other methods.

Examples

Run this code
## timeCalendar
# Create Character Vectors:
GMT = timeCalendar(zone = "GMT", FinCenter = "GMT") + 16*3600
ZUR = timeCalendar(zone = "GMT", FinCenter = "Zurich") + 16*3600
   
## c
# concatenate and replicate timeDate objects
sort(c(GMT, ZUR))
sort(c(ZUR, GMT))

Run the code above in your browser using DataLab