Thanks to Professors Ripley and Turlach for their help. Brian's solution
was simple and elegant but Berwin's was also informative.
Murray Jorgensen
Prof Brian Ripley wrote:
On Sun, 24 Aug 2008, Berwin A Turlach wrote:
G'day Murray,
On Sun, 24 Aug 2008 18:34:39 +1200
Murray Jorgensen <[EMAIL
On Sun, 24 Aug 2008, Berwin A Turlach wrote:
G'day Murray,
On Sun, 24 Aug 2008 18:34:39 +1200
Murray Jorgensen <[EMAIL PROTECTED]> wrote:
I want to extra the part of the formula not including the response
variable from an lm object. For example if the lm object ABx.lm was
created by the call
G'day Murray,
On Sun, 24 Aug 2008 18:34:39 +1200
Murray Jorgensen <[EMAIL PROTECTED]> wrote:
> I want to extra the part of the formula not including the response
> variable from an lm object. For example if the lm object ABx.lm was
> created by the call
>
> ABx.lm <- lm( y ~ A + B + x, ...)
>
>
I want to extra the part of the formula not including the response
variable from an lm object. For example if the lm object ABx.lm was
created by the call
ABx.lm <- lm( y ~ A + B + x, ...)
Then ACx.lm is saved as part of a workspace.
I wish to extract "~ A + B + x". Later in my code I will fi
4 matches
Mail list logo