Skip to contents

Show summary table of glm object(regression, logistic).

Usage

glmshow.display(glm.object, decimal = 2, pcut.univariate = NULL)

Arguments

glm.object

glm.object

decimal

digits, Default: 2

pcut.univariate

pcut.univariate, Default: NULL

Value

table

Details

DETAILS

See also

Examples

glmshow.display(glm(mpg ~ wt + qsec, data = mtcars))
#> $first.line
#> [1] "Linear regression predicting mpg\n"
#> 
#> $table
#>      crude coeff.(95%CI)   crude P value adj. coeff.(95%CI) adj. P value
#> wt   "-5.34 (-6.44,-4.25)" "< 0.001"     "-5.05 (-6,-4.1)"  "< 0.001"   
#> qsec "1.41 (0.32,2.51)"    "0.017"       "0.93 (0.41,1.45)" "0.001"     
#> 
#> $last.lines
#> [1] "No. of observations = 32\nR-squared = 0.8264\nAIC value = 156.7205\n\n"
#> 
#> attr(,"class")
#> [1] "display" "list"