The R Project SVN R

Rev

Rev 73679 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

% File src/library/base/man/append.Rd
% Part of the R package, https://www.R-project.org
% Copyright 1995-2012 R Core Team
% Distributed under GPL 2 or later

\name{append}
\alias{append}
\title{Vector Merging}
\description{
  Add elements to a vector.
}
\usage{
append(x, values, after = length(x))
}
\arguments{
  \item{x}{the vector the values are to be appended to.}
  \item{values}{to be included in the modified vector.}
  \item{after}{a subscript, after which the values are to be appended.}
}
\value{
  A vector containing the values in \code{x} with the elements of
  \code{values} appended after the specified element of \code{x}.
}
\references{
  \bibshow{R:Becker+Chambers+Wilks:1988}
}
\examples{
append(1:5, 0:1, after = 3)
}
\keyword{manip}
\concept{insert}