R/print.monthglm.R

Defines functions print.monthglm

Documented in print.monthglm

## print.monthglm.R
## Prints basic results from monthglm


#' Print \code{monthglm}
#' 
#' @param x Object of class \code{monthglm}
#' @param ... further arguments passed to or from other methods. 
#'
#' @export
print.monthglm<-function(x, ...){
  ## Checks
  if (class(x)!="monthglm"){stop("Object must be of class 'monthglm'")} 
  ## Use GLM function ###
  print(x$glm, ...)
} # end of function

Try the season package in your browser

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

season documentation built on March 21, 2022, 9:10 a.m.