Re: [R] Log-transform and specifying Gamma

2011-11-17 Thread Ben Bolker
Peter Minting hotmail.com> writes: > > > Dear R help, > I am trying to work out if I am justified in > log-transforming data and specifying Gamma in the same glm. > Does it have to be one or the other? No, but I've never seen it done. > I have attached an R script and the datafile to show w

[R] Log-transform and specifying Gamma

2011-11-17 Thread Peter Minting
Dear R help, I am trying to work out if I am justified in log-transforming data and specifying Gamma in the same glm. Does it have to be one or the other? I have attached an R script and the datafile to show what I mean. Also, I cannot find a mixed-model that allows Gamma errors (so I cannot find