[R] wroung groupedData despite reading Bates and Pinheiro 3 times

2008-07-19 Thread hpdutra
Hi everyone. I am trying to add a formula to my data using the groupedData function. My experiment consists of randomized block design using fruits, vegetation and time as factors. The idea is to see if fruits, vegetation and time explain the abundance of mice. I am using tree density as a

Re: [R] wroung groupedData despite reading Bates and Pinheiro 3 times

2008-07-19 Thread milton ruser
Hi (sorry, I donĀ“t got your name) May be this help you. trap$time-factor(trap$time) trap$block-factor(trap$block) All the best, miltinho astronauta brazil On 7/19/08, hpdutra [EMAIL PROTECTED] wrote: Hi everyone. I am trying to add a formula to my data using the groupedData

Re: [R] wroung groupedData despite reading Bates and Pinheiro 3 times

2008-07-19 Thread hpdutra
Hi Milton, I tried this and it worked. But the block structure isn't right because when I try to plot this I still get an error message traps-groupedData(mice~tree|plotID,outer=~time*fruit*veget|block,data=trap) plot(traps,outer=T) I guess my question is should I try to fit a more simple