R/length.coded.R

Defines functions `length<-.code`

#' @export
`length<-.code` <- function(x, value) {
  oldclass <- class(x)
  attr <- attributes(x)
  x <- NextMethod()
  attributes(x) <- attr
  class(x) <- oldclass
  x
}

Try the codelist package in your browser

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

codelist documentation built on April 12, 2025, 2:25 a.m.