R how to add to a vector code example Example: r append to vector append(x, values, after = length(x))