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)
}
harrelfe/Hmisc documentation built on April 18, 2024, 11:06 p.m.