R/print.summary.lbreg.R

Defines functions print.summary.lbreg

print.summary.lbreg <- function(x, ...)
{
  cat("Call:\n")
  print(x$call)
  cat("\n")

  printCoefmat(x$coefficients, P.values=TRUE, has.Pvalue=TRUE)

  cat("\n")
  cat("Residual deviance: ", x$deviance," on", x$df, " degrees of freedom")
  cat("\n")
  
  if(x$yclass == "nmatrix.2"){
  cat("Dispersion Estimate: ", x$X2/x$df)
  cat("\n")
  cat("(Std. Errors have *not* been multiplied by sqrt of dispersion estimate.)")
  cat("\n")
  }
}

Try the lbreg package in your browser

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

lbreg documentation built on Dec. 26, 2019, 5:06 p.m.