Skip to content
Prev 366222 / 398502 Next

Any help on R code interpretation?

Hello,

t() is the transpose function, it computes the transpose of matrix

with(subset(data,site!='AB'),cbind(1,
site=='BC', site =='MM', site =='XY',Temp,Treatment=='Local'))

then %*% is matrix multiplication. If you have doubts on the result, 
compute as.matrix(mod7)%*%t(...) outside the call to plogis.

And no, the two codes do not give the same results. Read the help page 
?plogis to find out the arguments to that function.

Hope this helps,

Rui Barradas

Em 22-12-2016 13:08, Marna Wagley escreveu: