ExpSmoothPillars: Exponentially smooth pillars of a 3-dimensional array
Description
For a 3-dimensional array mat3d, pillar i,j is defined as
mat3d[i, j, ]. ExpSmoothPillars function performs
ExpSmooth on each pillar. ExpSmoothRows performs
ExpSmooth on each row of a matrix.
Usage
ExpSmoothPillars(mat3d, tau)
ExpSmoothRows(mat, tau, extended = FALSE)
Arguments
mat3d
A 3-dimensional array.
tau
The time scale for the exponential smoothing (see Stroud 1999).
mat
A matrix.
extended
Logical. Has the series (obs) already been extended via
via nandb:::MedReflectExtend()? If not, ExpSmooth will do this
prior to smoothing as an edge-correction technique. You will probably
never set this to TRUE, but BestTau() needs this feature.
Value
For ExpSmoothPillars, a 3-dimensional array where each
pillar has been smoothed. For ExpSmoothRows, a matrix where each
row has been smoothed.