Quantcast
Channel: R – Musings on Quantitative Palaeoecology
Viewing all articles
Browse latest Browse all 10

Introducing ggpalaeo

$
0
0

I’ve put some code I used for plotting figures for my soon-to-be-resubmitted manuscript into a package because I thought it might be useful to others.

The main use of ggpalaeo is to make ggplot2 plots of transfer function diagnostics from the analogue and rioja packages.

analogueChunk-1

It will plot distances to nearest analogues and goodness-of-fit statistics by time or depth, and also plot transfer function performance plots. The diagnostic plots are perhaps better suited to supplementary material than the main text of a manuscript, but they are very pretty.

The other thing ggpalaeo does is make a couple of additions to strat.plot in rioja, allowing secondary axes (for example age in addition to depth) and summary plots (for example percent planktonic and benthic diatoms). Have a look at the examples.

You can install  ggpalaeo with

devtools::install_github("richardjtelford/ggpalaeo")

You might need to install devtools first. Please let me know if you have any problems or suggestions for additions or improvements.


Viewing all articles
Browse latest Browse all 10

Trending Articles