glmSummary: A formatted output for glm() object

View source: R/glmSummary.R

glmSummaryR Documentation

A formatted output for glm() object

Description

This function allows you to get pretty GLM summary table.

Usage

glmSummary(
  model = NA,
  description = NA,
  summary = FALSE,
  decimal = 2,
  scientificP = TRUE
)

Arguments

model

Output of glm(), defaults to NA.

description

Description column, string, defaults to NA.

summary

condensed summary, defaults to FALSE.

decimal

rounding decimals, defaul 2.

scientificP

Scientific notation for p-value, default TRUE.

Value

a data.frame object

Author(s)

Tokhir Dadaev

Examples

fit <- glm(mpg ~ cyl + wt, data = mtcars)
glmSummary(Model = fit)
glmSummary(Model = fit, Description = "testing")
glmSummary(Model = fit, Description = "testing", Summary = TRUE)

oncogenetics/oncofunco documentation built on March 9, 2024, 5:23 p.m.