R/prs.R

Defines functions prs

Documented in prs

#' prs function
#'
#' @param x parameter
#' @param y parameter
#'
#' @return Something
#' @export
#'
#' @examples
#'
#' x <- 1:10
#' y <- NULL
#' prs(x, y)
prs <- function(x, y) {
  for (i in x) {
    y <- c(y, i)
  }
  y
}
Kertoo/Learningpckdown documentation built on May 9, 2022, 12:02 a.m.