Re: [R] contrast package with interactions in gls model

2011-08-18 Thread MarylinBejarano [via R]
Hi, Sorry! I fited model with gls of nlme package. And I trying to contrast interaction with function contrast of contrast package. I thanks for your reply, Regards. Marylin Bejarano __ If you reply to this email, your message will be added to the

Re: [R] contrast package with interactions in gls model

2011-08-18 Thread Frank Harrell
Thanks. The reason I responded that way is that the error message mentioned a function gendata that is in the rms and Design packages. I guess it's in the contrast package too. Frank MarylinBejarano wrote: Hi, Sorry! I fited model with gls of nlme package. And I trying to contrast

[R] contrast package with interactions in gls model

2011-08-17 Thread Marylin Bejarano
Hi! I try to explain the efffect of (1) forest where i took samples's soils (* Lugar*: categorical variable with three levels), (2) nitrogen addition treatments (*Tra*: categorical variable with two levels) on total carbon concentration's soil samples (*C: *continue* *variable) during four

Re: [R] contrast package with interactions in gls model

2011-08-17 Thread Frank Harrell
You did not follow the posting guide. You did not specify which packages you were using. It appears that you are mixing the rms package with some other functions such as gls. If you want to use rms, use the Gls function instead of gls, and type ?contrast.rms to see examples of the use of