R/setYears.R

Defines functions setYears

Documented in setYears

#' @describeIn getYears set years
#' @export
setYears <- function(object,nm=NULL) {
  getYears(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 May 29, 2024, 6:20 a.m.