[R] export anova table

David Winsemius dwinsemius at comcast.net
Fri Dec 11 15:02:05 CET 2009


On Dec 11, 2009, at 8:17 AM, Ivan Calandra wrote:

> Hi everybody,
>
> It might be a stupid question, but please excuse it!
>
> I would just like to export my ANOVA table from that kind of code:
> stats <- lm(Asfc~TO_POS, ssfa)
> anova(stats)
>
> into a *.csv or *.txt file.
>

capture.output(anova(model), file="test.txt")


> Can anyone help please?
> Thanks in advance
> Ivan
>

David Winsemius, MD
Heritage Laboratories
West Hartford, CT




More information about the R-help mailing list