update() works!
Thank you thomas
On Jun 4, 2010, at 11:47 AM, Thomas Lumley wrote:
>
>
> I think you're looking for the update() function.
>
> -thomas
>
> On Thu, 3 Jun 2010, Roni Kobrosly wrote:
>
>> Hi,
>>
>> I made a small table of strings that will serve as variable names for lm
>>
I think you're looking for the update() function.
-thomas
On Thu, 3 Jun 2010, Roni Kobrosly wrote:
Hi,
I made a small table of strings that will serve as variable names for lm models
I will run. The table looks like this:
varnames
numname
11 zCANTAB
Roni -
Try this:
lm(formula(paste(outcome,'income + covariate1 + coviarate2',sep='~')),
data=my.data) -> model
- Phil Spector
Statistical Computing Facility
Department of
3 matches
Mail list logo