Re: [Rd] extending lattice to S4 classes

2006-01-06 Thread ernesto
Deepayan Sarkar wrote: >On 10/20/05, ernesto <[EMAIL PROTECTED]> wrote: > >[...] > > > >>Hi Deepayan, >> >>I see that there are alternatives, I found one my self that works and >>it's transparent for the user. >> >>I don't want to implement solutions that force the user to use lattice >>methods

Re: [Rd] extending lattice to S4 classes

2006-01-05 Thread Deepayan Sarkar
On 10/20/05, ernesto <[EMAIL PROTECTED]> wrote: [...] > Hi Deepayan, > > I see that there are alternatives, I found one my self that works and > it's transparent for the user. > > I don't want to implement solutions that force the user to use lattice > methods differently from your implementation

Re: [Rd] extending lattice to S4 classes

2005-10-20 Thread ernesto
Deepayan Sarkar wrote: >On 10/18/05, ernesto <[EMAIL PROTECTED]> wrote: > > >>Prof Brian Ripley wrote: >> >> >> >>>I think you are confusing us: xyplot is an S3 generic with no 'data' >>>argument. It is xyplot.formula that you want to add dispatch on its >>>'data' argument. I don't really

Re: [Rd] extending lattice to S4 classes

2005-10-19 Thread Deepayan Sarkar
On 10/18/05, ernesto <[EMAIL PROTECTED]> wrote: > Prof Brian Ripley wrote: > > > I think you are confusing us: xyplot is an S3 generic with no 'data' > > argument. It is xyplot.formula that you want to add dispatch on its > > 'data' argument. I don't really see why you want to mix S3 and S4 > >

Re: [Rd] extending lattice to S4 classes

2005-10-18 Thread ernesto
Prof Brian Ripley wrote: > I think you are confusing us: xyplot is an S3 generic with no 'data' > argument. It is xyplot.formula that you want to add dispatch on its > 'data' argument. I don't really see why you want to mix S3 and S4 > systems, but you could make xyplot.formula an S3 or S4 gene

Re: [Rd] extending lattice to S4 classes

2005-10-15 Thread Prof Brian Ripley
I think you are confusing us: xyplot is an S3 generic with no 'data' argument. It is xyplot.formula that you want to add dispatch on its 'data' argument. I don't really see why you want to mix S3 and S4 systems, but you could make xyplot.formula an S3 or S4 generic and dispatch on 'data', ju

Re: [Rd] extending lattice to S4 classes

2005-10-14 Thread ernesto
ernesto wrote: >Hi, > >I'm writing methods for a package called FLCore (see >http://flr-project.org/) in particular for a class called "FLQuant" >which extends array. > >Previously I was able to write methods based on the class of "data" but >now I can not do it due to the single parameter "x". Is

[Rd] extending lattice to S4 classes

2005-10-14 Thread ernesto
Hi, I'm writing methods for a package called FLCore (see http://flr-project.org/) in particular for a class called "FLQuant" which extends array. Previously I was able to write methods based on the class of "data" but now I can not do it due to the single parameter "x". Is there a way to do this