geeExp: geeExp: transform the unit of coefficients (internal...

View source: R/gee.R

geeExpR Documentation

geeExp: transform the unit of coefficients (internal function)

Description

Transform the unit of coefficients to "Coeff", "OR" or "RR"

Usage

geeExp(gee.coef, family = "binomial", dec)

Arguments

gee.coef

geeUni object.

family

Family: "gaussian", "binomial", "poisson", "quasipoisson", etc..., Default: 'binomial'

dec

Decimal point

Details

DETAILS

Value

The transforemed coefficients(95

Examples

library(geepack)
data(dietox)
dietox$Cu <- as.factor(dietox$Cu)
gee.uni <- geeUni("Weight", c("Time", "Cu"),
  data = dietox, id.vec = dietox$Pig,
  family = "gaussian", cor.type = "exchangeable"
)
gee.exp <- geeExp(gee.uni, "binomial", 2)

jstable documentation built on Oct. 20, 2024, 5:07 p.m.