Re: [R] Multiple left hand side variables in a formula

2013-03-02 Thread Achim Zeileis
] vs am gear carb Bill Dunlap Spotfire, TIBCO Software wdunlap tibco.com -Original Message- From: r-help-bounces@ [mailto: r-help-bounces@ ] On Behalf Of Frank Harrell Sent: Friday, March 01, 2013 4:17 PM To: r-help@ Subject: [R] Multiple left hand side

Re: [R] Multiple left hand side variables in a formula

2013-03-02 Thread Frank Harrell
@ [mailto: r-help-bounces@ ] On Behalf Of Frank Harrell Sent: Friday, March 01, 2013 4:17 PM To: r-help@ Subject: [R] Multiple left hand side variables in a formula The lattice package uses special logic to allow for multiple left-hand-side variables in a formula, e.g. y1 + y2 ~ x

Re: [R] Multiple left hand side variables in a formula

2013-03-02 Thread Frank Harrell
Hi Gabor, This is not for a regression function but for a major update I'm working on for the summary.formula function in the Hmisc package. So I need to handle several data types in the formula. Thanks Frank Gabor Grothendieck wrote Gabor Grothendieck wrote On Fri, Mar 1, 2013 at 7:16 PM,

[R] Multiple left hand side variables in a formula

2013-03-01 Thread Frank Harrell
The lattice package uses special logic to allow for multiple left-hand-side variables in a formula, e.g. y1 + y2 ~ x. Is there an elegant way to do this outside of lattice? I'm trying to implement a data summarization function that logically takes multiple dependent variables. The usual

Re: [R] Multiple left hand side variables in a formula

2013-03-01 Thread Gabor Grothendieck
On Fri, Mar 1, 2013 at 7:16 PM, Frank Harrell f.harr...@vanderbilt.edu wrote: The lattice package uses special logic to allow for multiple left-hand-side variables in a formula, e.g. y1 + y2 ~ x. Is there an elegant way to do this outside of lattice? I'm trying to implement a data

Re: [R] Multiple left hand side variables in a formula

2013-03-01 Thread William Dunlap
Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Frank Harrell Sent: Friday, March 01, 2013 4:17 PM To: r-help@r-project.org Subject: [R] Multiple left hand side variables in a formula The lattice package uses special logic to allow for multiple

Re: [R] Multiple left hand side variables in a formula

2013-03-01 Thread Frank Harrell
Thanks for your reply Gabor. That doesn't handle a mixture of factor and numeric variables on the left hand side. Frank Gabor Grothendieck wrote On Fri, Mar 1, 2013 at 7:16 PM, Frank Harrell lt; f.harrell@ gt; wrote: The lattice package uses special logic to allow for multiple

Re: [R] Multiple left hand side variables in a formula

2013-03-01 Thread Frank Harrell
@ [mailto: r-help-bounces@ ] On Behalf Of Frank Harrell Sent: Friday, March 01, 2013 4:17 PM To: r-help@ Subject: [R] Multiple left hand side variables in a formula The lattice package uses special logic to allow for multiple left-hand-side variables in a formula, e.g. y1 + y2 ~ x

Re: [R] Multiple left hand side variables in a formula

2013-03-01 Thread Gabor Grothendieck
Gabor Grothendieck wrote On Fri, Mar 1, 2013 at 7:16 PM, Frank Harrell lt; f.harrell@ gt; wrote: The lattice package uses special logic to allow for multiple left-hand-side variables in a formula, e.g. y1 + y2 ~ x. Is there an elegant way to do this outside of lattice? I'm trying to