Quantcast
Channel: graphics – Palimpsest
Browsing latest articles
Browse All 6 View Live

Image may be NSFW.
Clik here to view.

All combinations for levelplot

In a previous post I explained how to create all possible combinations of the levels of two factors using expand.grid(). Another use for this function is to create a regular grid for two variables to...

View Article


Image may be NSFW.
Clik here to view.

Setting plots side by side

This is simple example code to display side-by-side lattice plots or ggplot2 plots, using the mtcars dataset that comes with any R installation. We will display a scatterplot of miles per US gallon...

View Article

Image may be NSFW.
Clik here to view.

Lattice when modeling, ggplot when publishing

When working in research projects I tend to fit several, sometimes quite a few, alternative models. This model fitting is informed by theoretical considerations (e.g. quantitative genetics,...

View Article

Image may be NSFW.
Clik here to view.

Plotting earthquake data

Since 4th September 2010 we have had over 2, 800 quakes (considering only magnitude 3+) in Christchurch. Quakes come in swarms, with one or few strong shocks, followed by numerous smaller ones and then...

View Article

Image may be NSFW.
Clik here to view.

Revisiting homicide rates

A pint of R plotted an interesting dataset: intentional homicides in South America. I thought the graphs were pretty but I was unhappy about the way information was conveyed in the plots; relative risk...

View Article


Image may be NSFW.
Clik here to view.

If you have to use circles…

Stats Chat is an interesting kiwi site—managed by the Department of Statistics of the University of Auckland—that centers around the use and presentation of statistics in the media. This week there...

View Article
Browsing latest articles
Browse All 6 View Live