Example 7.17: The Smith College diploma problem

November 12, 2009
By
Example 7.17: The Smith College diploma problem

Smith College is a residential women's liberal arts college in Northampton, MA that is steeped in tradition. One such tradition is to give each student at graduation a diploma at random (or more accurately, in a haphazard fashion). At the end of the ceremony, a diploma circle is formed, and students pass the diplomas that they receive to...

Read more »

Create Animations in PDF Documents Using R

November 11, 2009
By

ince animation 1.0-9, we will be able to create a PDF document with an animation embedded in it; the function is saveLatex(), and its usage is similar to saveMovie() and saveSWF(): you pass an R expression for creating animations to this function, and this expression will be evaluated in the function; the image frames get

Read more »

Introduction à Monte Carlo en R

November 11, 2009
By
Introduction à Monte Carlo en R

Following a proposal by Springer-Verlag Paris, I have decided to translate Introducing Monte Carlo Methods with R with George Casella into French, since a new collection of R books (in French) is planed for the Spring of 2010. The translation will a priori be done by Joachim Robert and Robin Ryder, under my supervision and

Read more »

Rcpp 0.6.8

November 10, 2009
By

As memtioned when I announced release 0.6.7 of Rcpp two days ago, a new version 0.6.8 was due because of my oversight of also adapting Makevars.win (used on that other OS) to the new file layout. So 0.6.8 went onto CRAN and into Debian earlier in th...

Read more »

Rcpp 0.6.8

November 10, 2009
By

As memtioned when I announced release 0.6.7 of Rcpp two days ago, a new version 0.6.8 was due because of my oversight of also adapting Makevars.win (used on that other OS) to the new file layout. So 0.6.8 went onto CRAN and into Debian earlier in the ...

Read more »

Rcpp 0.6.8

November 10, 2009
By

As memtioned when I announced release 0.6.7 of Rcpp two days ago, a new version 0.6.8 was due because of my oversight of also adapting Makevars.win (used on that other OS) to the new file layout. So 0.6.8 went onto CRAN and into Debian earlier in th...

Read more »

R / Finance 2010 Call for Papers

November 9, 2009
By

Jeff sent the following while I had connectivity issues and I hadn't gotten around to posting it here. So without further ado, and given the success of our initial R / Finance 2009 conference about R in Finance, here is the call for papers for next ...

Read more »

R / Finance 2010 Call for Papers

November 9, 2009
By

Jeff sent the following while I had connectivity issues and I hadn't gotten around to posting it here. So without further ado, and given the success of our initial R / Finance 2009 conference about R in Finance, here is the call for papers for next sp...

Read more »

R / Finance 2010 Call for Papers

November 9, 2009
By

Jeff sent the following while I had connectivity issues and I hadn't gotten around to posting it here. So without further ado, and given the success of our initial R / Finance 2009 conference about R in Finance, here is the call for papers for next ...

Read more »

Using Faceting in ggplot2 to create Trellis-like Plots

November 9, 2009
By
Using Faceting in ggplot2 to create Trellis-like Plots

One of the main strengths of the Trellis graphics paradigm is the use of panelling to divide data into subsets to investigate whether patterns are consistent as the conditioning variables change. In the ggplot2 package the terminology for specifying these separate panels is faceting and can be used to create similar displays. In our previous post

Read more »

QQ plots of p-values in R using ggplot2

November 9, 2009
By

Way back will wrote on this topic.  See his previous post for Stata code for doing this.  Unfortunately the R package that was used to create QQ-plots here has been removed from CRAN, so I wrote my own using ggplot2 and some code I received from Daniel Shriner at NHGRI. Of course you can use R's built-in qqplot() function, but...

Read more »

MATLAB style stem plot with R

November 9, 2009
By
MATLAB style stem plot with R

Recently I wanted to plot an impulse response function with R and missed the MATLAB style stem plot for doing it. I couldn’t find an R function for it with a quick Google search so I made my own. So here is the function and a small example : #T...

Read more »

R package for sequence analysis

November 9, 2009
By
R package for sequence analysis

http://mephisto.unige.ch/traminer/preview.shtml

Read more »

LondonR slides

November 9, 2009
By

I was in london last week to present RemoteREngine at the LondonR user group sponsored by mango solutions. Apart from minor technical details and upsetting someone because I did not mention that he once presented a much simpler solution to a quit...

Read more »

Generalized Estimating Equations | General, R, and SPSS Resources

November 9, 2009
By
Generalized Estimating Equations | General, R, and SPSS Resources

I was recently asked about Generalised Estimating Equations (GEEs). I haven't yet used the technique, but it's on my list of things to learn more about. This post catalogues some of the Internet resources on GEEs.General ResourcesHanley et al...

Read more »

Rcpp 0.6.7

November 8, 2009
By

Version 0.6.7 of the Rcpp package---a set of C++ classes making it easier to glue C/C++ code to R---is now on CRAN and Debian. This is a fairly incremental release that contains just a few small changes that arose since the previous release in August. One change is that a new type RcppList was added which allows us to build...

Read more »

Rcpp 0.6.7

November 8, 2009
By

Version 0.6.7 of the Rcpp package---a set of C++ classes making it easier to glue C/C++ code to R---is now on CRAN and Debian. This is a fairly incremental release that contains just a few small changes that arose since the previous release in August. ...

Read more »

Rcpp 0.6.7

November 8, 2009
By

Version 0.6.7 of the Rcpp package---a set of C++ classes making it easier to glue C/C++ code to R---is now on CRAN and Debian. This is a fairly incremental release that contains just a few small changes that arose since the previous release in August. One change is that a new type RcppList was added which allows us to build...

Read more »

New R-Forge Site for Quantitative Pedology

November 8, 2009
By
New R-Forge Site for Quantitative Pedology

Just back from the annual meetings, and it looks like there is a significant interest in collaborative R coding of soils-related algorithms and visualization. A new R-forge site has been created to host Algorithms for Quantitative Pedology. Public release of the 'soil' package should be ready in a couple weeks. Soil Profile Dendrogram

Read more »

Network of People who Twitter about R

November 7, 2009
By

On Tuesday I will be speaking to the Bay Area R group about doing social network analysis in R with igraph. During the talk I will (hopefully) be doing some live SNA on the audience using R and generating data via Twitter. As a preview, or small taste for those not able

Read more »

R Tutorial Series: Zero-Order Correlations

November 6, 2009
By
R Tutorial Series: Zero-Order Correlations

One of the most common and basic techniques for analyzing the relationships between variables is zero-order correlation. This tutorial will explore the ways in which R can be used to employ this method.Tutorial FilesBefore we start, you may want to dow...

Read more »

Creating scatter plots using ggplot2

November 6, 2009
By
Creating scatter plots using ggplot2

The ggplot2 package can be used as an alternative to lattice for producing high quality graphics in R. The package provides a framework and hopefully simple interface to producing graphs and is inspired by the grammar of graphics. The main function for producing graphs in this package is qplot, which stands for quick plot. The first

Read more »

Top Five Open Source Projects of 2009

November 5, 2009
By

Every year, I single out what I think are the Top Five open source projects. This year, there's only one hold-over from previous years, and it's likely that I'm just going to give it a Lifetime Achievement Award and pick five others next year. 5. NetBe...

Read more »

opentick alternatives

November 5, 2009
By
opentick alternatives

I've been getting a bit of traffic from people searching for opentick (the defunct company), so I've started a list of similar (but non-free) data providers. I'm not affiliated with any of these vendors, and the list is in no particular order. I'll u...

Read more »

R has a JSON package

November 5, 2009
By
R has a JSON package

Named rjson, appropriately. It’s quite basic just now, but contains methods for interconversion between R objects and JSON. Something like this: > library(rjson) > data <- list(a=1,b=2,c=3) > json <- toJSON(data) > json "{\"a\":1,\"b\":2,\"c\":3}" > cat(json, file="data.json") Use cases? I wonder if RApache could be used to build an API that serves R data in JSON format? Posted in

Read more »

Show me the mean(ing)…

November 5, 2009
By
Show me the mean(ing)…

Well testing a bunch of samples for the largest population mean isn’t that common yet a simple test is at hand. Under the obvious title “The rank sum maximum test for the largest K population means” the test relies on the calculation of the sum of ranks under the combined sample of size , where

Read more »

Scivews-K got updated again

November 4, 2009
By
Scivews-K got updated again

With the recent update, I was able to get it working properly.Interestingly, while it works on my Vista 64-bit, it does not work on my Ubuntu 64-bit. I have no idea what is going on.

Read more »

R’s xtabs for total weighted read coverage

November 4, 2009
By

Samtools and its BioPerl wrapper Bio::DB:Sam prefer to give read coverage on a depth per base pair basis. This is typically an array of depths, one for every position that has at least one read aligned. OK, works for me. But how can we quickly see which targets (in my case transcripts) have the greatest total weighted read coverage...

Read more »

R’s xtabs for total weighted read coverage

November 4, 2009
By

Samtools and its BioPerl wrapper Bio::DB:Sam prefer to give read coverage on a depth per base pair basis. This is typically an array of depths, one for every position that has at least one read aligned. OK, works for me. But how can we quickly see which targets (in my case transcripts) have the greatest total weighted read coverage...

Read more »