Skip to content
An R package for conducting all sorts of R piratery
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
inst minor update to new decision palette Feb 9, 2017
.Rbuildignore update .Rbuildignore Oct 13, 2016
.travis.yml add .travis.yml Oct 13, 2016
DESCRIPTION minor Oct 30, 2017
NAMESPACE added pointpars argument to pirateplot Jul 16, 2017
README.Rmd Updated pirateplot example in readme Oct 25, 2016 minor update to new decision palette Feb 9, 2017

Build Status CRAN_Status_Badge Rdoc Downloads


YaRrr Package

The yarrr package contains a mixture of data, functions and tutorials supporting the e-book "YaRrr! The Pirate's Guide to R" (

To install the (stable) version from CRAN, run the following code

# Install yarrr from CRAN

To install the latest developer version from GitHub, run the following code

# Install developer version from GitHub
                         build_vignettes = TRUE)

Once you've installed the yarrr package, you can load it and open the main package guide as follows:

library("yarrr") # load yarrr # run main package guide

Here are the most important parts of the package:


Pirateplot Example

The pirateplot function creates a pirateplot, a transparent (both literally and figuratively) plot for displaying continuous data as a function of 1, 2, or 3 discrete variables. Unlike traditional plots, like barplots and boxplots, the pirateplot shows both raw data (jittered points), descriptive statistics (line and/or bar), and inferential statistics (95% Bayesian Highest Density Intervals or Confidence Intervals), in one plot. While the default plot shows all these elements, the user can easily customize the transparency of each element using additional arguments.

See ?pirateplot or for more details

You can’t perform that action at this time.