Hello,

How can one write the output of a GLM/GEE model to a text file, such that
the results appear in text file in the same (or similar) format they appear
in the R console?  For instance, I have the following model:

Traitresult <- compar.gee(Y~X, data = data, family = "binomial", phy = tree,
scale.fix = TRUE, scale.value = 1)

How would I write "Traitresult" to a text file? I have tried using the
write, write.table, and save functions, but they are not working, giving me
either a warning that 'Traitresult' is not a list or giving me a text file
with a bunch of symbol gibberish.

Thank you!

charlie



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Charles G. Willis
Department of Organismic and Evolutionary Biology
22 Divinity Ave Cambridge MA 02139
HP (857) 488-2506
WP (617) 496-3890
[EMAIL PROTECTED]
http://www.people.fas.harvard.edu/%7Ecgwillis/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to