geeglm.display: geeglm.display

Description Usage Arguments Details Value See Also Examples

View source: R/gee.R

Description

Make gee results from "geeglm" object

Usage

1
geeglm.display(geeglm.obj, decimal = 2)

Arguments

geeglm.obj

"geeglm" object

decimal

Decimal, Default: 2

Details

DETAILS

Value

List: caption, main table, metrics table

See Also

data.table-package complete.cases

Examples

1
2
3
4
5
6
 library(geepack)
 data(dietox)
 dietox$Cu <- as.factor(dietox$Cu)
 gee01 <- geeglm (Weight ~ Time + Cu , id =Pig, data = dietox,
                family=gaussian,corstr="ex")
 geeglm.display(gee01)

Example output

Registered S3 methods overwritten by 'lme4':
  method                          from
  cooks.distance.influence.merMod car 
  influence.merMod                car 
  dfbeta.influence.merMod         car 
  dfbetas.influence.merMod        car 
$caption
[1] "GEE(gaussian) predicting Weight by Time, Cu - Group Pig"

$table
               crude coeff(95%CI)   crude P value adj. coeff(95%CI)  
Time           "6.94 (6.79,7.1)"    "< 0.001"     "6.94 (6.79,7.1)"  
Cu: ref.=Cu000 NA                   NA            NA                 
      035      "-0.59 (-3.73,2.54)" "0.711"       "-0.84 (-3.9,2.23)"
      175      "1.9 (-1.87,5.66)"   "0.324"       "1.77 (-1.9,5.45)" 
               adj. P value
Time           "< 0.001"   
Cu: ref.=Cu000 NA          
      035      "0.593"     
      175      "0.345"     

$metric
                                 crude coeff(95%CI) crude P value
                                 NA                 NA           
Estimated correlation parameters "0.775"            NA           
No. of clusters                  "72"               NA           
No. of observations              "861"              NA           
                                 adj. coeff(95%CI) adj. P value
                                 NA                NA          
Estimated correlation parameters NA                NA          
No. of clusters                  NA                NA          
No. of observations              NA                NA          

jstable documentation built on Oct. 19, 2021, 5:07 p.m.