[Rd] adding a built-in drop.levels option for subset() in 2.12 ?

peter dalgaard pdalgd at gmail.com
Mon Aug 23 15:27:28 CEST 2010


On Aug 15, 2010, at 8:38 PM, Ben Bolker wrote:

> 
>  With the approach of R 2.12.0:
> 
>  with mild apologies for re-opening this perennial issue:
> is there any hope, if appropriate patches are submitted, of adding a
> drop.levels argument (with default equal to FALSE to preserve backward
> compatibility/efficiency) to the subset function ... ?
>  If not, would a patch to the documentation and/or the R FAQ be accepted?


Ben, there is now a dropLevels() _function_ in R-devel, please try it on for size.

-- 
Peter Dalgaard
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd.mes at cbs.dk  Priv: PDalgd at gmail.com



More information about the R-devel mailing list