Re: [R] ols function in rms package

2010-06-08 Thread Mark Seeto
On 06/06/2010 10:49 PM, Mark Seeto wrote: Hello, I have a couple of questions about the ols function in Frank Harrell's rms package. Is there any way to specify variables by their column number in the data frame rather than by the variable name? For example, library(rms) x1-

Re: [R] ols function in rms package

2010-06-08 Thread Frank E Harrell Jr
On 06/08/2010 05:29 AM, Mark Seeto wrote: On 06/06/2010 10:49 PM, Mark Seeto wrote: Hello, I have a couple of questions about the ols function in Frank Harrell's rms package. Is there any way to specify variables by their column number in the data frame rather than by the variable name?

Re: [R] ols function in rms package

2010-06-08 Thread Mark Seeto
On 06/08/2010 05:29 AM, Mark Seeto wrote: On 06/06/2010 10:49 PM, Mark Seeto wrote: Hello, I have a couple of questions about the ols function in Frank Harrell's rms package. Is there any way to specify variables by their column number in the data frame rather than by the variable

[R] ols function in rms package

2010-06-07 Thread Mark Seeto
Hello, I have a couple of questions about the ols function in Frank Harrell's rms package. Is there any way to specify variables by their column number in the data frame rather than by the variable name? For example, library(rms) x1 - rnorm(100, 0, 1) x2 - rnorm(100, 0, 1) x3 - rnorm(100, 0,

Re: [R] ols function in rms package

2010-06-07 Thread Frank E Harrell Jr
On 06/06/2010 10:49 PM, Mark Seeto wrote: Hello, I have a couple of questions about the ols function in Frank Harrell's rms package. Is there any way to specify variables by their column number in the data frame rather than by the variable name? For example, library(rms) x1- rnorm(100, 0, 1)