From pdalgd at gmail.com  Mon Aug 23 15:27:28 2010
From: pdalgd at gmail.com (peter dalgaard)
Date: Mon, 23 Aug 2010 15:27:28 +0200
Subject: [Rd] adding a built-in drop.levels option for subset() in 2.12 ?
In-Reply-To: <4C68341B.2030304@gmail.com>
References: <4C68341B.2030304@gmail.com>
Message-ID: <962DED36-3261-42AB-89BC-EC5B546DAB54@gmail.com>


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



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