search for: speciessize

Displaying 2 results from an estimated 2 matches for "speciessize".

2009 Jul 16
0
how to get means and confidence limits after glmmPQL or lmer
...m too big. Also, I'm not sure if I've backtransformed correctly. I've also tried directly calculating the means and CIs, but I'm not sure if the first line below is actually the right variance to use in estimating the CIs. variance<-mm$sigma #IS THIS THE RIGHT VARIANCE? speciessize<- tapply(species, burnagecat1 ,length) speciesmeans<- (tapply(predict(mm, type="response"), burnagecat1 ,mean)) upperci<- exp(log(speciesmeans) + qt(0.95,residdf)*sqrt(variance/speciessize)) lowerci<- exp(log(speciesmeans)- qt(0.95,residdf)*sqrt(variance/speciessize)) re...
2012 Jul 11
2
For loop help
...der, Site, Transect and Species). Here is an example of the current format: http://r.789695.n4.nabble.com/file/n4636155/data.jpg Could someone help me write a for loop? I am looking for something like this (represents just the top 2 rows of the first table): Date Recorder Site Transect SpeciesSize Class 7/6/10 CSC Puako A MOCA 5-10cm 7/6/10 CSC Puako A MOCA 5-10cm 7/6/10 CSC Puako A MOCA 20-40cm 7/6/10 CSC Puako A MOPA <5cm 7/6/10 CSC Puako A MOPA <5cm 7/6/10 CSC Puako A MOPA 5-10cm 7/6/10 CSC Puako A MOPA 10-20cm Many Thanks! Courtney -- View this message in context: http://r.78...