add to every vector element r code example
Example: how to append element to vector r
some_value = 1
initial_vector <- c() # vector to append values to
initial_vector <- c(initial_vector, some_value) # append element to vector
some_value = 1
initial_vector <- c() # vector to append values to
initial_vector <- c(initial_vector, some_value) # append element to vector