R/xtfrm.labelled.s

Defines functions xtfrm.labelled

Documented in xtfrm.labelled

xtfrm.labelled <- function(x) {
  newclass <-  class(x)[class(x) != 'labelled']
  if (length(newclass) == 0) {
    class(x) <- NULL
  } else {
    oldClass(x) <- newclass
  }
  xtfrm(x)
}

Try the Hmisc package in your browser

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

Hmisc documentation built on Sept. 12, 2023, 5:06 p.m.