R/summary.createTable.R

Defines functions summary.createTable

Documented in summary.createTable

summary.createTable <-
function(object, ...) {
  if(!inherits(object, "createTable"))
    stop("'object' must be of class 'createTable'")
  if (inherits(object, "missingTable"))
    stop("summary cannot be applied to 'missingTable' objects")
  ans <- object
  class(ans) <- c("summary.createTable",class(ans))
  ans
}
isubirana/compareGroups documentation built on Jan. 31, 2024, 9:19 p.m.