.BG
.FN smooth
.TL
Non-linear Smoothing Using Running Medians
.CS
smooth(x, twice=TRUE)
.AG x
vector (at least 5 points) to be smoothed.
.AG twice
logical flag, should twicing be done?
Twicing is the process of smoothing, computing the
residuals from the smooth, smoothing these and adding the
two smoothed series together.
.RT
smoothed vector using a method known as \f24(3RSR)2H twice\fP
(see the reference).
.SP
.SH REFERENCE
J. W. Tukey,
.ul
Exploratory Data Analysis,
Chapters 7 and 16, Addison-Wesley, Reading, Massachusetts, 1977.
.SA
`spline', `lowess'.
.KW robust
.WR
