Visualisation Talk: R graphics with ‘ggplot2’ and ‘rgl’

ggplot2

is a flexible R package for efficiently producing high quality 2 dimensional visualisations of data and models.

The package author, Hadley Wickham, describes the package in detail in his book ggplot2: elegant graphics for data analysis

The documentation website is the best place to go for help files about the individual commands.

Iris_Cor_Panel_h

Iris_Cor_Panel
-a pannel of scatter plots produced with the ‘ggplot2’ and ‘GGally’ R packages.

‘rgl’

is a powerful package for producing interactive 3 dimensional plots in R. ‘rgl’ utilises OpenGL as its rendering backend.

Crater_Lake
-an ‘rgl’ surface plot of a Martian Digital Elevation model produced via the ‘rasterVis’ package.

____________________________________________________________________________

Annotated Code Files

‘ggplot2’ examples

‘rgl’ examples

See also Code Files 2 & 3 from my Introduction to R Course

and never forget my ‘rgl’ shenanigans page for examples of 3D plots I’ve cooked up for various reasons

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s