Displaying 1 result from an estimated 1 matches for "hours3".
Did you mean:
hours
2012 Sep 08
0
reshape and geeglm problem
...1.x" "error1_2.x"
[15] "error1_3.x" "error1_4.x" "stress0" "stress1" "stress2" "stress3" "stress4"
[22] "hours1" "hours2" "hours3" "hours4" "subject"
First I reshape my data to prepare for geeglm:
compl$subject <- factor(rownames(compl))
nobs <- nrow(compl)
compl_long <- reshape(compl, idvar = "subject",varying = list(c( "PHQ_Surv1" , "PHQ_S...