Dear list,
is it possible that method dispatch checks for superclasses/virtual
classes before checking "ANY"?
I'd like to build a generic initialization method for all my Reference
Class (say "MyDataFrame") objects by having them inherit from class, say
"MyRefClassVirtual" (which would have
On 05/27/2011 06:13 AM, Janko Thyson wrote:
Dear list,
is it possible that method dispatch checks for superclasses/virtual
classes before checking "ANY"?
I'd like to build a generic initialization method for all my Reference
Class (say "MyDataFrame") objects by having them inherit from class, s
Cool, thanks a lot for the insight! I forgot that there is the option to
use 'contains="VIRTUAL" and probably out of laziness usually set my
virtual S4 classes simply via 'setClass("Something")'.
On 27.05.2011 15:22, Martin Morgan wrote:
> On 05/27/2011 06:13 AM, Janko Thyson wrote:
>> Dear list
Arni,
Here are two examples:
R> statmode(iris)
Sepal.Length Sepal.Width Petal.Length Petal.Width Species
"5" "3""1.4""0.2" "setosa"
R> table(iris$Species)
setosa versicolor virginica
50 50 50
R> library(lattice)
R> statmo
On 27/05/2011 11:11 AM, Martin Maechler wrote:
> Duncan Murdoch
> on Fri, 27 May 2011 08:23:14 -0400 writes:
> On 11-05-27 4:27 AM, Albert-Jan Roskam wrote:
>> Aha! Thank you very much for that clarification! It would
>> be much more user friendly if R generated a
Thank you, Kevin, for the feedback.
1. The mode is not so interesting for continuous data. I would much
rather use something like density().
Absolutely. The help page for statmode() says it is for discrete data, and
points to density() for continuous data.
2. Both the iris and barley data
On Fri, 27 May 2011, Duncan Murdoch wrote:
On 27/05/2011 11:11 AM, Martin Maechler wrote:
> Duncan Murdoch
> on Fri, 27 May 2011 08:23:14 -0400 writes:
> On 11-05-27 4:27 AM, Albert-Jan Roskam wrote:
>> Aha! Thank you very much for that clarification! It would
>>
On May 27, 2011, at 10:33 AM, Duncan Murdoch wrote:
> On 27/05/2011 11:11 AM, Martin Maechler wrote:
>> > Duncan Murdoch
>> > on Fri, 27 May 2011 08:23:14 -0400 writes:
>>
>> > On 11-05-27 4:27 AM, Albert-Jan Roskam wrote:
>> >> Aha! Thank you very much for that clarifica
On 27/05/2011 11:53 AM, Prof Brian Ripley wrote:
On Fri, 27 May 2011, Duncan Murdoch wrote:
> On 27/05/2011 11:11 AM, Martin Maechler wrote:
>> > Duncan Murdoch
>> > on Fri, 27 May 2011 08:23:14 -0400 writes:
>>
>> > On 11-05-27 4:27 AM, Albert-Jan Roskam wrote:
>>
Okay, I've now committed these changes to R-devel. We'll see over the
next few days if CRAN packages were making use of the old
permissiveness, and if necessary modify or revert the change.
Duncan Murdoch
On 27/05/2011 11:52 AM, Marc Schwartz wrote:
On May 27, 2011, at 10:33 AM, Duncan Murdo
10 matches
Mail list logo