From kjetil at acelerate.com  Fri Aug 27 17:48:31 2004
From: kjetil at acelerate.com (Kjetil Brinchmann Halvorsen)
Date: Fri Aug 27 17:54:31 2004
Subject: [Rd] reorder [stats] and reorder.factor [lattice]
In-Reply-To: <Pine.LNX.4.58.0408270918570.2608@public02.stat.wisc.edu>
References: <Pine.LNX.4.58.0408270918570.2608@public02.stat.wisc.edu>
Message-ID: <412F57CF.6010603@acelerate.com>

Deepayan Sarkar wrote:

>It was recently pointed out on the lists that the S-PLUS Trellis suite has
>a function called reorder.factor that's useful in getting useful ordering
>of factors for graphs. I happily went ahead and implemented it, but it
>turns out that R (not S-PLUS) has a generic called reorder (with a method
>for "dendrogram"). Naturally, this causes R to think I'm defining a
>method for "factor", and gives a warning during check because of
>mismatching argument names.
>
>Any suggestions as to what I should do? Retaining S compatibility doesn't
>seem to be an option. I could make a reorder method for "factor" (which
>sounds like a good option to me), or rename it to something like
>reorderFactor.
>
>  
>
Make a reorder method for factor, which would be usefull also outside
lattice, so could be in stats

Kjetil halvorsen


>Deepayan
>
>______________________________________________
>R-devel@stat.math.ethz.ch mailing list
>https://stat.ethz.ch/mailman/listinfo/r-devel
>
>
>  
>


[Rd] reorder [stats] and reorder.factor [lattice]
Kjetil Brinchmann Halvorsen