R/clone_ldat.R

Defines functions clone.ldat

Documented in clone.ldat

#' Clone an ldat object
#'
#' @param x \code{\link{ldat}} object to be cloned
#' @param ... ignored. 
#'
#' @details
#' Clones each of the vectors in the \code{\link{ldat}} object. 
#'
#' @export
clone.ldat <- function(x, ...) {
  res <- lapply(x, clone, ...) 
  attributes(res) <- attributes(x)
  res
}

Try the ldat package in your browser

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

ldat documentation built on May 24, 2018, 9:04 a.m.