.BG
.VE $Header: /usr3/s/current/s/.help/RCS/window,v 1.2 83/12/30 19:36:32 rab Exp $
.FN window
.TL
window: Window a Time-Series
.CS
window(x, start, end)
.PP
.AG x
time-series.  Missing values (NAs) are allowed.
.AG start
optional new starting date for the series.  If earlier than start date
of `x', no change is made.
.AG end
optional new ending date for the series;  if later than end date of `x',
no change is made.
.PP
.RT
a time-series like `x' giving the data between the new
`start' and `end' dates.
.EX
sgnp <- window(gnp,c(1970,1),c(1975,12))
  #subseries of gnp from Jan 1970 through Dec 1975
.KW ts*
.WR
