extendLength | R Documentation |
Extend the length of a signal or matrix by row
extendLength(
x,
addLength = NULL,
method = c("reflection", "open", "circular"),
direction = c("right", "left", "both")
)
x |
a vector or matrix with column with each column as a signal |
addLength |
the length to be extended |
method |
three methods available, c("reflection", "open", "circular"). By default, it is "reflection". |
direction |
three options available: c("right", "left", "both") |
The extended vector or matrix.
Pan Du
extendNBase()
a = matrix(rnorm(9), 3)
extendLength(a, 3, direction='right')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.