Like
vectorx <- c(10:20)
dim()
1000*10
If you want to replicate a vector vectorx
for 1,000 times , try matrix
:
matrix(vectorx, nrow = 1000, ncol = length(vectorx), byrow = T)
Note: for you example, the final dim would be 1,000 x 11 as 10:20 has 11 elements.