[R] gee() and geeglm() errors

2012-09-13 Thread Lilia Verchinina
Dear R users, I have a question regarding the gee() (from package gee) and geeglm() (from package geepack). Here is the head() from my data: R> head(compl.samples_long) UserID Intervention PHQ_base compl_bin Sex EFE Neuro depr0 subject time PHQ 1.1 1000416 2 2

[R] reshape and geeglm problem

2012-09-07 Thread Lilia Verchinina
Dear R users, could you please help me figure out why I am getting an error? Initially my data looks like this: > attributes(compl)$names [1] "UserID" "compl_bin" "Sex.x" "PHQ_base" "PHQ_Surv1" "PHQ_Surv2" "PHQ_Surv3" [8] "PHQ_Surv4" "EFE"