Blog Archives

simple.scatterplot: Two way distributions

March 21, 2007
By

John Verzani’s book has a title page that shows a scatterplot with histograms of x and y variables along the two axes. It is a very powerful way of looking at two distributions. The plot was generated through a function simple.scatterplot. The function is made available as part of the UsingR package, which can be

Read more »

Graphics (base, grid and lattice) in RNews

March 20, 2007
By

R News 2(2) has papers on grid and lattice packages. R News 3(2) has papers on base, grid and gridBase. Essential stuff for anybody trying to master R graphics V.

Read more »

Working with ggplot

February 24, 2007
By

Hadley Wickham’s ggplot is a very interesting package. It makes beautiful graphics, integrates well with some of the other packages to allow you to superimpose the plots of various types of estimates on plots of data. In particular, it uses colours very well. The default colour schemes are aesthetically pleasing. It allows a flexible use

Read more »

Dropping columns in subset command

February 16, 2007
By

Use “select=c(var1,var2)” in the subset command to select var1 and var2. Use “select=-c(var1,var2)” in the subset command to drop var1 and var2. Technorati Tags: GNU-R

Read more »

Page orientation problem in converting postscript files to pdf using ps2pdf

February 13, 2007
By

A commonly reported problem with ps2pdf is that it does not always guess the page orientation right. A neat solution is here http://allendowney.com/essays/orientation/ I just edited the gs_statd.ps to define the wide page and added an alias in my bashrc called widepdf to convert files to pdf in the wide format. It works great now!!

Read more »

Statistics on Microsoft Excel

February 6, 2007
By

Here is an interesting document on problems of using Microsoft Excel for statistical analysis. http://gcrc.ucsd.edu/biostatistics/Excel.pdf Technorati Tags: statistics, excel, microsoft

Read more »