Replication Functions
A combine and rep method for MatrixArray and a function similar to rep_len.
## S3 method for class 'MatrixArray' c(x, ...) ## S3 method for class 'MatrixArray' rep(x, n=1, ..., each=1, times=n) ## S3 method for class 'MatrixArray' rep2(x, n, ..., n.out=n)
x |
A 1d MatrixArray object. |
... |
In the combine function, further MatrixArray objects. |
n |
Refer to the each and n.out arguments. |
each |
The number of times, each element is repeated, consecutively. |
times |
The number of times, the sequence is repeated, periodically. |
n.out |
The length of the output object. |
A new MatrixArray object.
rep (eq.brot2 (4), 10)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.