R/summary.crosspred.R

Defines functions summary.crosspred

Documented in summary.crosspred

###
### R routines for the R package dlnm (c)
#
summary.crosspred <-
function(object, ...) {
#
################################################################################
#
  cat("PREDICTIONS:\n")
  cat("values:",length(object$predvar),"\n")
  if(!is.null(object$cen)) cat("centered at:",object$cen,"\n")
  cat("range:",min(object$predvar),",",max(object$predvar),"\n")
  cat("lag:",object$lag,"\n")
  cat("exponentiated:",ifelse(!is.null(object$allRRfit),"yes","no"),"\n")
  cat("cumulative:",ifelse(!is.null(object$cumfit),"yes","no"),"\n")
#
  cat("\nMODEL:\n")
  cat("parameters:",length(object$coef),"\n")
  cat("class:",object$model.class,"\n")
  cat("link:",object$model.link,"\n")
  cat("\n")
}

Try the dlnm package in your browser

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

dlnm documentation built on Oct. 7, 2021, 5:09 p.m.