R append code example
Example 1: r append to vector
append(x, values, after = length(x))
Example 2: R append
x <- rep(1:5)
# Using rep() method
gfg <- append(x, 10)
print(gfg)
append(x, values, after = length(x))
x <- rep(1:5)
# Using rep() method
gfg <- append(x, 10)
print(gfg)