October 2012

Build Static HTML Help Pages for R Packages

October 29, 2012 | Yihui Xie

Many R users may still remember the good old days when we had static HTML documentation for R packages. That was probably before R 2.10.0 (in 2009). Then we had the fancy dynamic HTML help based on the built-in httpd server, but it has never really mad... [Read more...]

the large half now

October 28, 2012 | xi'an

The little half puzzle proposed a “dumb’ solution in that players play a minimax strategy. There are 34 starting values less than 100 guaranteeing a sure win to dumb players. If instead the players maximise their choice at each step, the R code looks like this: and there are now 66 (=100-34, indeed!) ... [Read more...]

Mixed distribution

October 28, 2012 | Wingfeet

In the football data there was some reason to use a mixed distribution in the football data (ref) so I tried doing that. It was more difficult than I expected. Not only is a mixture of distributions fairly difficult, also the system was over parameteri... [Read more...]

Watch Sandy in “R” (Including Forecast Cone)

October 28, 2012 | hrbrmstr

As indicated in the code comments, Google took down the cone KML files. I’ll be changing the code to use the NHC archived cone files later tonight NOTE: There is significantly updated code on github for the Sandy ‘R’ dataviz. This is a follow-up post to the quickly crafted ...
[Read more...]

Replicating Krugman (Pt. 1)

October 27, 2012 | distantobserver

I'm a regular reader of Paul Krugman's NYT blog. A couple of months ago I decided to replicate some of the plots Paul published. At the time I was evaluating the quantmod package which seemed to made things easy. An easy startIn the first part I'll rep... [Read more...]

Watch “Sandy” In R

October 27, 2012 | hrbrmstr

UPDATE: Significantly updated code on githubWell, a couple folks asked how to make it more “centered” on the hurricane and stop the labels from chopping off, so I modified the previous code a bit to show how to do that. As indicated in the code comments, Google took down the ...
[Read more...]

the little half (another Le Monde puzzle)

October 27, 2012 | xi'an

I found this Le Monde puzzle of June 16 I had stored and then somehow forgotten with my trips to Japan and Australia: There are n beans in a box, with 98≤n≤102). Two players take at each round either one bean from the box or “the little half” (i.e. the ... [Read more...]

Characterizing a new dataset

October 27, 2012 | Ron Pearson (aka TheNoodleDoodler)

In my last post, I promised a further examination of the spacing measures I described there, and I still promise to do that, but I am changing the order of topics slightly.  So, instead of spacing measures, today’s post is about the DataframeSummary procedure to be included in the ... [Read more...]

.Rhistory

October 27, 2012 | distantobserver

Over the last couple of years I've been using R every now and then. When I stumbled upon an interesting topic, and I managed to get a hold of a data set, I tried to make sense of it using R.It's a bit like the Stat Labs approach: I ... [Read more...]

A Greedy ARMA/GARCH Model Selection

October 26, 2012 | ivannp

An idea that I have been toying for a while, has been to study the effect of a domain-specific optimization strategy in the ARMA+GARCH models. If you recall from this long tutorial, the implemented approach cycles through all models within a the specified ranges for the parameters and chooses ... [Read more...]

R 2.15.2 now available

October 26, 2012 | David Smith

As promised, the source distribution for R 2.15.2 is now available for download from the master CRAN repository. (Binary distributions for Windows, MacOS and Linux will be available from the CRAN mirror network in the coming days.) This latest point-update — codenamed "Trick or Treat" — improves the performance of the R engine ... [Read more...]

Plotting correlation ellipses

October 26, 2012 | is.R()

This is an oldie but a goodie. There are a lot of ways to plot multiple bivariate relationships, but this is one of my favorites, courtesy of the R Graph Gallery. https://gist.github.com/819111 [Read more...]

NSCB Sexy Stats Version 2

October 25, 2012 | arsalvacion

This was a revised version of my previous post about the NSCB article. With the suggestion from Tal Galili, below were the new pie charts and the R codes to produce these plots by directly scrapping the data from the webpage using XML and RColorBrewer ... [Read more...]

Using FAFSA Data to study Competitors – Part 2

October 25, 2012 | btibert3

I wanted to build upon my previous post and dive a little deeper into the sorts of questions we can answer using the FAFSA data supplied to us by applicants. As a quick overview, students completing the FAFSA for student aid can list up to ten institutions on the form. ... [Read more...]
1 2 3 4 5 16

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)