R/cdo-duplicate.R

Defines functions cdo_duplicate

Documented in cdo_duplicate

## This file was created automatically, do not edit by hand.
#' @param ifile String with the path to the input file.
#' @param ofile String with the path to the output file.
#' @param ndup INTEGER - Number of duplicates, default is 2.
#'
#' @export
#' @rdname duplicate
cdo_duplicate <- function(ifile, ndup = NULL, ofile = NULL) {
  cdo(operator = operators$duplicate,
      input = list(ifile),
      params = list(ndup = ndup),
      output = c(ofile)
  )
}

Try the rcdo package in your browser

Any scripts or data that you put into this service are public.

rcdo documentation built on June 8, 2025, 12:36 p.m.