Interactive Graphics for Data Analysis ––––––––– Principles and Examples. Programming R | Beginner to advanced resources for the R programming language. Climate Charts & Graphs | My R and Climate Change Learning Curve. R/parallel : An easy-to-use toolkit for Parallel Computing in R. Package snow. Package apsrtable. Biocep-distrib.r-forge.r-project. RStudio. Geographic maps in R | Smart Data Collective. The maps library for R is a powerful tool for creating maps of countries and regions of the world. For example, you can create a map of the USA and its states in just three lines of code: library(maps) map("state", interior = FALSE) map("state", boundary = FALSE, col="gray", add = TRUE) The coordinate system of the graph is latitude and longitude, so it's easy to overlay other spatial data on this map. Unfortunately, the data for the maps library isn't sufficient for some applications.
GADM is a spatial database of the location of the world's administrative boundaries, and as Claudia Engel discovered the map information is available as native R objects that can be plotted directly with the spplot function (from the sp package). Library(sp)con <- url(" Sweet! AnthroSpace: Download Global Administrative Areas as RData files Link to original post. Reshape. had.co.nz. Reshape is anR package for flexibly restructuring and aggregating data. It is available on all platforms supported by R (Linux, OS X, Windows, ...).
The current version is 0.8. Reshape (hopefully) makes it easy to do what you have been struggling to do with tapply, by, aggregate, xtabs, apply and summarise. It is also useful for getting your data into the correct structure for lattice or ggplot plots. Along with ggplot, reshape won the 2006 John Chambers Award for Statistical Computing. ggplot provides a new way of making plots in R, based on the grammar of graphics. How to install Reshape is available from CRAN so you can install it using the following R command: install.packages("reshape") Documentation The best place to start is “Reshaping data with the reshape package”, published in the journal of statistical software. You might also be interested in the slides (pdf, 140k) and paper (pdf, 260k) I presented at Directions in Statistical Computing 2005. Mailing list Demos Get involved.