Skip to content
Prev 12265 / 398502 Next

gls function, very old results

----- Original Message -----
From: "Raphael Gottardo" <raph at alvie-mail.lanl.gov>
To: <r-help at stat.math.ethz.ch>
Sent: Tuesday, July 10, 2001 11:50 AM
Subject: [R] gls function, very old results
fit_gls(response~array+dye+genes+variety+variety*genes+array*genes+dye*genes
,data=data)
It appears that the variables "array", "dye", etc., need to be treated as
"factors". Probably the most convenient approach would be to convert them in
your data frame before carrying out the analysis. For example, the values of
dye could be converted with the following code (mutatis mutandis).
Finding an appropriate model for these data is likely to be a challenging
exercise. I highly recommend the book by Pinheiro and Bates entitled "Mixed
Effects Models in S and S-Splus". These authors explain very clearly how to
carry out mixed-effects modeling.

-Bill

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._