The usual reason for the 'subscript out of bounds' error is that an array's
subscripts exceed the dimensions of the array. In this case
gee.fit$working.correlation is a 1 by 1 matrix, so subscripting with [1,2]
will cause the error.
Here is a self-contained example that you can send the package's
Hello,
I have a dataframe in R that looks like the following
cluster id period u_3 timeID startTrt Ijterror y
1: 1 1 0 -1.26 11 0 1.2015 17.809
2: 1 2 0 -1.26 11 0 -1.6577 14.950
3: 1 3 0 -1.26 11 0
2 matches
Mail list logo