powered by
Spectra
Operators
# S4 method for Spectra rep(x, times, ...)
A Spectra object whose rows are to be replicated.
A integer vector giving the (non-negative) number of times to repeat each row. See help of rep.
rep
further arguments to be passed to or from other methods. See help of rep.
A Spectra object
Replicates rows of x, making times copies of each row. Replicates Spectra, data, sp, time, endTime, InvalidIdx slots. Resets the SelectedIdx slot.
x
times
data
sp
time
endTime
InvalidIdx
SelectedIdx
# NOT RUN { sp=spc.example_spectra() dim(sp) sp2 = rep(sp, 5) dim(sp2) # }
Run the code above in your browser using DataLab