Skip to content
Prev 59497 / 398503 Next

SAS or R software

BXC (Bendix Carstensen) wrote:
I agree with the readability of data manipulation code, especially for 
novice users.  As far as functionality for data manipulation is 
concerned, R has more flexibility and is faster to program once one has 
experience.  I do think that learning data manipulation techniques in R 
takes a while.
I could not disagree more with that statement.  Look for example at 
http://biostat.mc.vanderbilt.edu/twiki/pub/Main/StatReport/summary.pdf . 
  With R you can customize tables by specifying your own function for 
computing any statistic of interest.  Let's see how to use PROC TABULATE 
to display stratified Kaplan-Meier 4-year survival estimates along with 
median and median life length, not to mention match the fine control of 
formatting available using the combination of R and LaTeX.
Readability is different from being well-documented.  And for clear and 
compact tables, R is the winner hands down.

Frank Harrell