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 comment