It might be useful to be able to simulate data from a logistic regression (section 4.1.1). Our process is to generate the linear predictor, then apply the inverse link, and finally draw from a distribution with this parameter. This approach is useful in that it can easily be applied to other ...
The Fibonacci numbers have many mathematical relationships and have been discovered repeatedly in nature. They are constructed as the sum of the previous two values, initialized with the values 1 and 1.A pdf of this example is available here.SASIn SAS, we use the lag function (section 1.4.17, p. 22) to retrieve the ...
Somebody on the R-help mailing list asked how to get Rmpi working on his Fedora Linux machine so he could do high-performance computing on a cluster of machines (or a single multicore machine) using the R statistical computing and analysis platform. Since it is unusually painful to get working, I ... [Read more...]
inlin Yan posted a cool (hot?) simulation of burning fire with R in the COS forum yesterday, which was indeed a warm welcome. I’m not sure whether our forum members will be scared by the “fire” under the title “Welcome to COS Forum”. The fire was mainly created by ... [Read more...]
ag cloud is a bunch of words drawn in a graph with their sizes proportional to their frequency; it’s widely used in blogs to visualize tags. We can observe important words quickly from a tag cloud, as they often appear in large fontsize. Tony N. Brown asked how to “... [Read more...]
The annual GGobi hack-at-it was held June 5-7 in Ames Iowa. The main directions of work areDevelopment of a new canvas for R supporting interactive and dynamic graphics. Michael is leading the effort on this. Higher level routines for supporting brushi... [Read more...]
O’Reilly has published Data Mashups in R as a $4.99 PDF download in their Short Cut series. In 27 pages it takes you through an example of how to combine foreclosure information with maps and geographical information to produce plots like the one here. This is all done with the R ... [Read more...]
If you need to share a common legend between two graphs using the ggplot2 package/paradigm take a look at this post from the Learning R blog.The code below solves the same task using the R base graphics.png( "2plot1legend.png", width = 480, height = 68...
R is a powerful environment for statistical computing. Here is a selective list of resources on R with an emphasis on resources useful for researchers in psychology.Psychology specific R resourcesR Notes for Experimental PsychologyWilliam Revelle's Psy...
Ever wonder how to finish your statistics homework real fast? Or you just
want a quick way to verify your tedious calculations in your statistics class
assignment. We provide an answer here by solving statistics exercises with
R.
read more [Read more...]
Just a little note for german speaking R beginners: There is an introductory course in R (german) available online on the website of the department of methodology and evaluation research at the University of Jena. Dr. Ivailo Partchev holds a seven sess... [Read more...]
So I have started following the #RStats tag in twitter. Prior to a week ago I had never Twitterbated so I thought I would give it a go since I am not one to shy away from new technology… much. I think of Twitter like a call in radio show ...
Zementis, in collaboration with Togaware, produced an article describing PMML and the PMML Package available for exporting predictive models built in R.The article is featured in the first edition of The R Journal. Check it out:PMML: An Open Standard f... [Read more...]
Some of the best figure design ideas come from cartographers. If you've ever read a Tufte book you've seen lots of examples. Let's talk about using color effectively. Penn State geography professor Cindy Brewer's ColorBrewer tool for selecting color schemes for figures has been conveniently packaged into an R library ... [Read more...]
Here's a quick tutorial on how to get a nice looking graph out of R (aka the R Project for Statistical Computing). Don't forget that help for any R command can be displayed by typing the question mark followed by the command. For example, to see help o...
I don’t know how, but somehow, i stumbled on how to do this. I’ve always used emacs with ESS to run R, since spring 2006 (did it on windows, switched to linux, for years, and most recently, on my macbook). I liked this because i get the same usual ... [Read more...]
Hugh Miller, the team leader of the winner of the KDD Cup 2009 Slow Challenge (which we wrote about recently) kindly provides more information about how to win this public challenge using the R statistical computing and analysis platform on a laptop (!).
[Read more...]
Due to some things falling into place, I had an opportunity to attend the
first two days of last week's Ubuntu Developer Summit in
beautiful Barcelona. Somehow, I had never managed to attend a Debian
conference either, so it was good to meet a few of the old Debian hands ... [Read more...]