I have a matrix that i want to duplicate n times in a list.
Obviously the rep() function does not work on matrices, so does anyone have a good suggestion how to make this better than my code below?
Thanks!
# Create sample matrix
jwprox <- matrix(ncol=15,nrow=15)
# Create list of n-times matrices
jwprox <- list(jwprox,jwprox,jwprox)