[R] rms::ols & I(.) in formulas
Peter Ehlers
ehlers at ucalgary.ca
Fri Jul 2 18:15:06 CEST 2010
On 2010-07-02 7:36, Frank E Harrell Jr wrote:
> ols has always been fussy about this. And don't use poly; use pol with
> rms/Design.
>
> Frank
Quite right; I did mean pol(), not poly().
Darn fingers sometimes just won't obey.
-Peter Ehlers
>
> On 07/02/2010 07:28 AM, Peter Ehlers wrote:
>> Otto,
>>
>> The current version of ols() is fairly fussy about the
>> way the predictors are used. I'm not fond of the I()
>> construction anyway and so I would either use poly()
>> or define a new predictor as you suggest in your
>> original post.
>>
>> See also this thread:
>>
>> https://stat.ethz.ch/pipermail/r-help/2010-June/241587.html
>>
>>
>> -Peter Ehlers
>>
[snip]
More information about the R-help
mailing list