Re: [R] Power set

From: Frank E Harrell Jr <f.harrell_at_vanderbilt.edu>
Date: Fri 27 May 2005 - 21:36:42 EST

Laura Holt wrote:
> Hi again!
>
> I have a data.frame with the columns y, x1, x2, x3.
>
> I would like to fit linear models with one variable at a time,
> then 2 variables at a time, and then 3.
>
> Makes me think of a power set.

Makes me think of irreproducible results if you use the output to select a single model :-)

Frank Harrell

>
> Anyhow, is there a function to produce the right hand side of the
> formulas, please?
>
> thanks,
> Laura Holt
> mailto: lauraholt_983@hotmail.com
> R Version 2.1.0 Windows

-- 
Frank E Harrell Jr   Professor and Chair           School of Medicine
                      Department of Biostatistics   Vanderbilt University

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Fri May 27 21:45:18 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:32:08 EST