powered by
A combine and rep method for MatrixArray and a function similar to rep_len.
# S3 method for MatrixArray c(x, …)# S3 method for MatrixArray rep(x, n=1, …, each=1, times=n) # S3 method for MatrixArray rep2(x, n, …, n.out=n)
# S3 method for MatrixArray rep(x, n=1, …, each=1, times=n) # S3 method for MatrixArray rep2(x, n, …, n.out=n)
A 1d MatrixArray object.
In the combine function, further MatrixArray objects. In other functions, ignored.
Refer to the each and n.out arguments.
The number of times, each element is repeated, consecutively.
The number of times, the sequence is repeated, periodically.
The length of the output object.
A new MatrixArray object.
# NOT RUN { rep (eq.brot2 (4), 10) # }
Run the code above in your browser using DataLab