Learn R Programming

jstable (version 0.9.2)

geeExp: 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

Value

The transforemed coefficients(95

Details

DETAILS

Examples

Run this code
# NOT RUN {
 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)
# }

Run the code above in your browser using DataLab