search for: combine_factor

Displaying 3 results from an estimated 3 matches for "combine_factor".

2009 Apr 29
0
combine_factor to empty level
ID: T8dfe471e360ac80264c6c Dear, I'm using R 2.8.1 with the package reshape version 0.8.2 . It seems that the combine_factor function has problems with combining levels to an empty level: #EXAMPLE WORKING test<-sample(c(1:10),1000,replace=T) testf<-factor(test, c(1:10), LETTERS[1:10]) table(testf,exclude=NULL) testc<-combine_factor(testf, c(1,1,1,1,1,2,2,2,2,2)) levels(testc)<-c("A-E","F-J&quo...
2006 Aug 06
0
Reshape package: new version 0.7
...se is new?: * iapply, an idempotent apply function that returns results with the same dimensionality as the input (very useful in conjunction with sweep and multidimensional arrays) * rescaler, a function to rescale data.frames variable by variable using a range of different scaling methods * combine_factor and reorder_factor to make it easier to combine and reorder factor levels * bug fixes! All feedback is welcomed, and if you are struggling with reshaping your data and the reshape package isn't helping, please let me know. Regards, Hadley http://had.co.nz/ ________________________________...
2006 Aug 06
0
Reshape package: new version 0.7
...se is new?: * iapply, an idempotent apply function that returns results with the same dimensionality as the input (very useful in conjunction with sweep and multidimensional arrays) * rescaler, a function to rescale data.frames variable by variable using a range of different scaling methods * combine_factor and reorder_factor to make it easier to combine and reorder factor levels * bug fixes! All feedback is welcomed, and if you are struggling with reshaping your data and the reshape package isn't helping, please let me know. Regards, Hadley http://had.co.nz/ ________________________________...