R/setComment.R

Defines functions setComment

Documented in setComment

#' @describeIn getComment set comment
#' @export
setComment <- function(object,nm=NULL) {
  getComment(object) <- nm
  return(object)
}

Try the magclass package in your browser

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

magclass documentation built on July 9, 2023, 7:03 p.m.