This will work using rbind
:
c(rbind(a, b))
For example:
a = c(1,2,3)
b = c(11,12,13)
c(rbind(a,b))
#[1] 1 11 2 12 3 13
More Related Contents:
- Overlap join with start and end positions
- Test if a vector contains a given element
- Counting the number of elements with the values of x in a vector
- How to cbind or rbind different lengths vectors without repeating the elements of the shorter vectors?
- Multiply rows of matrix by vector?
- Fastest way to find second (third…) highest/lowest value in vector or column
- How do I combine two data-frames based on two columns? [duplicate]
- How to index a vector sequence within a vector sequence
- Finding All Positions for Multiple Elements in a Vector
- Get indexes of a vector of numbers in another vector
- Reduce PDF file size of plots by filtering hidden objects
- Converting two columns of a data frame to a named vector
- Append value to empty vector in R?
- How do keep only unique words within each string in a vector
- Test for equality among all elements of a single numeric vector
- Combine column to remove NA’s
- List distinct values in a vector in R
- How to append rows to an R data frame
- calculating mean for every n values from a vector
- Find start and end positions/indices of runs/consecutive values
- Read and rbind multiple csv files
- Merging rows with the same ID variable [duplicate]
- Split delimited single value character vector
- R split numeric vector at position
- Select rows from one data.frame that are not present in a second data.frame
- How to return 5 topmost values from vector in R?
- How to reverse order a vector?
- How do you create vectors with specific intervals in R?
- Merge dataframes, different lengths
- Data.frame Merge and Selection of values which are common in 2 Data.frames