internal function
internal function
EndRule(x, y, k, dimx, endrule=c("NA", "trim", "keep", "constant", "func"), align = c("center", "left", "right"), Func, ...)
x |
numeric vector of length n |
k |
width of moving window; must be an integer between one and n. |
dimx |
original dimension of x (usually |
endrule |
character string indicating how the values at the beginning
and the end, of the data, should be treated. Only first and last
|
y |
numeric vector of length n, which is partially filled output of
one of the |
align |
specifies whether result should be centered (default), left-aligned or right-aligned. |
Func |
Function name that |
... |
Additional parameters to |
Returns a numeric vector of the same length as x
. Only in case of
endrule="trim"
.the output will be shorter.
Jarek Tuszynski (SAIC) jaroslaw.w.tuszynski@saic.com
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.