Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

Merge

Merge 2 sorted vectors in 1 sorted vector


Description

Merge 2 sorted vectors in 1 sorted vector.

Usage

Merge(x,y)

Arguments

x

A sorted vector with data.

y

A sorted vector with data.

Value

A sorted vector of the 2 arguments.

Author(s)

Manos Papadakis

R implementation and documentation: Manos Papadakis <papadakm95@gmail.com>.

See Also

Examples

x <- 1:10
y <- 1:20

Merge(x,y)

x <- y <- NULL

Rfast2

A Collection of Efficient and Extremely Fast R Functions II

v0.0.9
GPL (>= 2.0)
Authors
Manos Papadakis, Michail Tsagris, Stefanos Fafalios and Marios Dimitriadis.
Initial release
2021-03-21

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.