Shige's Research Blog

Friday, October 31, 2014

pander 0.5.0: the next generation of markdown tables in R

I am moving from Sweave to Rmarkdown, this looks very promising.

Wednesday, October 22, 2014


Cool utility, for those who stuck with SPSS.

Teaching statistics using R: Resources

I am compiling a list of resources on teaching statistics using R, many of which target undergraduates:

Sunday, October 19, 2014

Teaching statistics using R

This post explains it well. I also like the "mosaic" package.

Saturday, October 18, 2014

Zelig 5, 4, and 3

Zelig is one of the R packages that I use routinely. The most recent version is Zelig 5, which uses the new "reference class" OOP model, looks promising. But it does not support all the models the earlier versions supported yet and the output cannot be readily processed by the table-making packages, such as xtable, stargazer, and texreg. Zelig 4 has been around for some time but it seems to be more error prone than Zelig 3, which is still my Zelig version of choice for data analysis.

Friday, October 17, 2014

Thursday, October 16, 2014

Shiny, ggvis, and rmarkdown

I have been using rmarkdown in my research and really enjoyed it. I also tried to get my head around shiny and ggvis. I can understand what they do but, compared to rmarkdown, dplyr, and ggplot2, they seemed less relevant. Yesterday I went to the R-Day of the Strata+Hadoop meeting and the presentations made by Winston Chang and Garrett Grolemund really changed my opinion. And the timing is perfect: now I have strong incentive to incorporate both technologies into my Advanced Analytics course in the Spring of 2015.

According to Hadley Wichham, the author of dplyr and a number of other excellent packages, the next version of dplyr will have a function for recoding.

Monday, October 13, 2014

Getting Real About China

An article by Wesley Clark. The article is all right but some of the comments are really insightful! I am impressed by the NYT readers!

Super salesman

carton of the Chinese prime minister is hilarious.