Answers for "what does the rep function do in r"

R
2

rep in r

rep(1, length.out = 5)
# 1 1 1 1 1
Posted by: Guest on September-04-2020

Code answers related to "what does the rep function do in r"

Browse Popular Code Answers by Language