R/print.lifertable.R

Defines functions print.lifertable

Documented in print.lifertable

#' @describeIn lifertable
#'     Print a \code{lifertable} object
#'
#' @param x Object to be displayed.
#' @param ... Additional arguments to be passed to or from methods.
#'
#' @export
#'
print.lifertable <- function(x, ...) {
  print(x$LIFERTABLE)
  print(x$PARAMETERS)
  if (!is.null(x$TOTAL.EGGS))
    print(x$TOTAL.EGGS)
  if(!is.null(x$CI))
    print(x$CI)
  if (!is.null(x$T.TEST))
    print(x$T.TEST)

  cat(" --------------------\n\n")
  invisible(x)
}

Try the Lifertable package in your browser

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

Lifertable documentation built on April 12, 2025, 1:43 a.m.