R/class.R

Defines functions class

class <- function(x, of) {
  if (missing(of)) base::class(x)
  else { class(x) <- c(of, base::class(x)); x }
}

Try the modules package in your browser

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

modules documentation built on Aug. 25, 2023, 5:17 p.m.