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 May 29, 2024, 2 a.m.