Re: [R] Function similar to combine.levels in Hmisc package

2010-07-09 Thread Frank E Harrell Jr
On 07/09/2010 05:33 PM, Saeed Abu Nimeh wrote: Is there a function similar to combine.levels ( in the Hmisc package) that combines the levels of factors, but not based on their frequency. Alternatively, I am looking into using the significance of the dummy variables of factors based on their Pr(>

[R] Function similar to combine.levels in Hmisc package

2010-07-09 Thread Saeed Abu Nimeh
Is there a function similar to combine.levels ( in the Hmisc package) that combines the levels of factors, but not based on their frequency. Alternatively, I am looking into using the significance of the dummy variables of factors based on their Pr(>|t|) value using the linear model, then deleting