Skip to content
Back to formatted view

Raw Message

Message-ID: <4FBA3816.2020902@ucalgary.ca>
Date: 2012-05-21T12:41:58Z
From: Peter Ehlers
Subject: Stepwise with AICc
In-Reply-To: <1337556121824-4630692.post@n4.nabble.com>

On 2012-05-20 16:22, ejulia17 wrote:
> Dear Brian,
>
> I found this in the archives and was going to follow your advice, but can't
> get the source code of the function extractAIC you suggest modifying.
> Getting the full source code of stepAIC straight from the R session (by
> typing
> the function name) was immediate.  Do I need to go down another route to get
> to the source of extractAIC?
>
> With thanks for any help you may offer,
> Julia
>

You probably want extractAIC.lm (see what methods are available
with methods(extractAIC)). Get the code with

  stats:::extractAIC.lm

Peter Ehlers