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
}
djvanderlaan/lvec_stats documentation built on Oct. 4, 2022, 7:02 p.m.