Skip to content
Back to formatted view

Raw Message

Message-ID: <Pine.LNX.4.44.0212091443160.27192-100000@bolker.zoo.ufl.edu>
Date: 2002-12-09T20:43:03Z
From: Ben Bolker
Subject: Problem with differences between S+ and R in parsing output tables with $
In-Reply-To: <6rel8rgfm9.fsf@bates5.stat.wisc.edu>

On 9 Dec 2002, Douglas Bates wrote:

> Hmm - that's a peculiar way of trying to extract the information but
> if you really want to do it like that you should first use str() to
> determine the structure of the returned value.  It turns out that the
> value is a list and the first component of the list is a data frame
> with one column labelled "Pr(>F)".
> 

  How would you normally go about extracting such information?  Other than 
doing it via summary(model(aov))[[1]]$"Pr(>F)"[1] [which is admittedly 
pretty horrible], or extracting the raw information from the aov object 
and computing the F-prob oneself, I can't see how to do it ...

  Ben