File: stats-window.Rd

package info (click to toggle)
r-cran-timedate 3043.102-1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 2,596 kB
  • sloc: makefile: 13
file content (68 lines) | stat: -rw-r--r-- 1,047 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
59
60
61
62
63
64
65
66
67
68
\name{window}


\title{Time Windows}


\alias{window}
\alias{window.timeDate}
\alias{cut.timeDate}


\description{
    
    Extract the subset of a 'timeDate' object observed between 
    two time stamps.
       
}


\usage{
\method{window}{timeDate}(x, start , end, \dots)

\method{cut}{timeDate}(x, from , to, \dots)
}


\arguments{
  
    \item{from, to}{
        starting date, required, and end date, ptional. If supplied 
        \code{to} must be after \code{from}.
        }
    \item{start, end}{
        starting date, required, and end date, ptional. If supplied 
        \code{to} must be after \code{from}.
        }
    \item{x}{
        an object of class \code{timeDate}.
        }
    \item{\dots}{
        arguments passed to other methods.
        }         
}


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

}



\examples{  
## timeCalendar - 
   # Monthly Dates in Current Year:
   tS = timeCalendar()
   tS 
   
## window -
   # 2nd Quarter Window:
   tS[4:6]
   window(tS, tS[4], tS[6])
}


\keyword{chron}