Given vector <- rep(c(1,2,3), each=2). What is the value of vector[c(1,2,3)] ? code example Example: rep in r rep(1, length.out = 5) # 1 1 1 1 1