Useful Twitter extensions for Firefox
I often share material on Twitter when I find something interesting. This is the primary purpose of Twitter for me: share and find interesting links. Right now, the process is…
I often share material on Twitter when I find something interesting. This is the primary purpose of Twitter for me: share and find interesting links. Right now, the process is…
In a recent post, Steve Hsu writes: It's a shame that we don't have a better online platform (e.g., like Quora or StackOverflow) for discussing scientific papers. This would allow…
There is a question on SO about this: http://stackoverflow.com/questions/4752275/test-for-equality-among-all-elements-of-a-single-vector But I was a bit more curious, so! #test data, large vectors v1 = rep(1234, 1e6) v2 = runif(1e6) #functions to…
Recently, I wrote a function called copy_names(). It does what you think and a little more: it copies names from one object to another. But it can also attempt to…
This was an exchange between researchers that took place in 2006 in the academic journal Intelligence (34). Templer, D. I., & Arikawa, H. (2006). Temperature, skin color, per capita income,…
Usually working with large public datasets requires that one recode variables. This can be quite repetitive. When variables only have a few possible values, one can use something like plyr's…
Chisala has his 3rd installment up: http://www.unz.com/article/closing-the-black-white-iq-gap-debate-part-3/ One idea I had while reading it was that tail effects interact with population ethnic/racial heterogeneity. To show this, I did a simulation…
Do you find yourself in need of making nice ggplot2 plots for group means over and over again? Are you tired of (re-)writing big chunks of code for something that…
Van Ijzendoorn, M. H., Juffer, F., & Poelhuis, C. W. K. (2005). Adoption and cognitive development: a meta-analytic comparison of adopted and nonadopted children's IQ and school performance. Psychological bulletin,…
Often I want to get the mean value for a case across a number of columns, usually years. This however gets repetitive because the base mean() function cannot handle data…