Search notes:

R function: replicate

replicate(6, c(2, 3, 9))
#      [,1] [,2] [,3] [,4] [,5] [,6]
# [1,]    2    2    2    2    2    2
# [2,]    3    3    3    3    3    3
# [3,]    9    9    9    9    9    9
Github repository about-r, path: /functions/replicate.R

See also

Index to (some) R functions

Index