Learn R Programming

timeDate (version 290.84)

c: Concatenating 'timeDate' Objects

Description

Concatenates 'timeDate' objects.

Usage

## S3 method for class 'timeDate':
c(\dots, recursive = FALSE)

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.

Value

  • returns an object of class "timeDate".

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