File: base-c.Rd

package info (click to toggle)
r-cran-timedate 3012.100-2
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 2,592 kB
  • ctags: 4
  • sloc: makefile: 13
file content (58 lines) | stat: -rw-r--r-- 900 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
\name{c}


\title{Concatenating 'timeDate' Objects}


\alias{c}
\alias{c.timeDate}


\description{
    
    Concatenates 'timeDate' objects.
       
}


\usage{
\method{c}{timeDate}(\dots, recursive = FALSE)
}


\arguments{
      
    \item{recursive}{
        a logical. If recursive  is set to \code{TRUE}, the function 
        recursively descends through lists combining all their elements 
        into a vector. 
        }  
    \item{\dots}{
        arguments passed to other methods.
        }
       
}


\value{
    
    returns an object of class \code{"timeDate"}.

}


\examples{
## 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))
}


\keyword{chron}