geeUni: geeUni: The coefficient of univariate gee (internal function)

Description Usage Arguments Details Value Examples

View source: R/gee.R

Description

Extract the coefficients of univariate gee using geeglm function (geepack package).

Usage

1
geeUni(y, x, data, id.vec, family, cor.type = "exchangeable")

Arguments

y

Dependant variable

x

Independent variable

data

Data

id.vec

Vector of id (should be ordered)

family

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

cor.type

Correlation structure, Default: 'exchangeable'

Details

DETAILS

Value

coefficient, standard error, p-value

Examples

1
2
3
4
5
 library(geepack)
 data(dietox)
 dietox$Cu <- as.factor(dietox$Cu)
 gee.uni <- geeUni("Weight", "Time", data = dietox, id.vec = dietox$Pig, 
                   family = "gaussian", cor.type = "exchangeable")

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