You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
577B

  1. % Generated by roxygen2: do not edit by hand
  2. % Please edit documentation in R/utils.R
  3. \name{insert}
  4. \alias{insert}
  5. \title{Insert a vector y inside another vector x at position}
  6. \usage{
  7. insert(x, y, position)
  8. }
  9. \arguments{
  10. \item{x}{A vector to be inserted into}
  11. \item{y}{A vector or list of vectors to insert into x}
  12. \item{position}{The position / vector of positions to insert vector(s) y in vector x}
  13. }
  14. \value{
  15. The combined vector
  16. }
  17. \description{
  18. The vectors in the y list will be inserted
  19. at positions respectively *after* the x[position] element of x
  20. }
  21. \keyword{internal}