https://github.com/cran/season
Raw File
Tip revision: 9e054890fe969261939be9b26eeea9f5650f1a55 authored by Adrian Barnett on 21 March 2022, 07:30:11 UTC
version 0.3.15
Tip revision: 9e05489
print.summary.monthglm.R
# print.summary.monthglm.R

#' printing a summary of a month.glm
#' @name print.summary.monthglm
#' @method print summary.monthglm
#' @param x a \code{summary.monthglm} object produced by
#' \code{summary.monthglm}.
#' @param \dots further arguments passed to or from other methods.
#' @export
print.summary.monthglm <- function(x, ...){
  ## report results
  cat('Number of observations =',x$n,'\n')
  if (x$month.effect=="RR"){
    cat('Rate ratios','\n')
  }
  if (x$month.effect=="OR"){
    cat('Odds ratios','\n')
  }
  print(x$month.ests, ...)
}
back to top