- "chisq.test() now also returns a stdres component, for standardized residuals (which have unit variance, unlike the Pearson residuals)." Comment: Although it was not difficult to calculate std. res by hand, it is good to see a more convenient approach.
- "write.table() and friends gain a fileEncoding argument, to simplify writing files for use on other OSes (e.g. a spreadsheet intended for Windows or Mac OS X Excel)." Comment: I have been looking for an easy to handle ouput like UTF8 encoding. The previous way is to use file handle. The new write.table will definitely be a good start. However, I still think R is not that good at dealing with different encoding schemes.
- "sapply() gets a new option simplify = "array" which returns a "higher rank" array instead of just a matrix when FUN() returns a dim() length of two or more." Comment: I have been very fond of "?apply" family recently. Never got a chance to play with array though. This new sapply seems to enjoy a very good update. But I prefer that if every function can natively support single number, vector, matrix, array input argument, like MATLAB. (e.g. M = mean(A,dim) in Matlab v.s M = apply(A,dim,mean) in R) .
Given more useful and unheard of cool functions, I am going to explore some tools, such as Sweave(). Keep working on ggplot.
No comments:
Post a Comment