It doesn't print anything: the summary.aov (or summary.aovlist) print method does. ?summary.aov tells you the structure of the objects they return. On Tue, 15 Feb 2005, RenE J.V. Bertin wrote:> I'd like to annotate a plot with the output of summary(aov(model)), > ideally just with the significant effects. I don't find a means to > redirect what that command prints into a string. Is this possible, and > if so, how?-- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
RenE J.V. Bertin <rjvbertin <at> hotmail.com> writes: : : Hello, : : I'd like to annotate a plot with the output of summary(aov(model)), ideally just with the significant : effects. I don't find a means to redirect what that command prints into a string. : Is this possible, and if so, how? : ?capture.output
Prof Brian Ripley <ripley at stats.ox.ac.uk> writes:> It doesn't print anything: the summary.aov (or summary.aovlist) print > method does. > > ?summary.aov tells you the structure of the objects they return.Yes..... but wouldn't capture.output() and par(family="mono") be closer to the mark?> On Tue, 15 Feb 2005, RenE J.V. Bertin wrote: > > > I'd like to annotate a plot with the output of summary(aov(model)), > > ideally just with the significant effects. I don't find a means to > > redirect what that command prints into a string. Is this possible, > > and if so, how?-- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907