yarrr v0.1.5
Monthly downloads
A Companion to the e-Book "YaRrr!: The Pirate's Guide to R"
Contains a mixture of functions and data sets referred to in the introductory e-book "YaRrr!: The Pirate's Guide to R". The latest version of the e-book is available for free at <https://www.thepiratesguidetor.com>.
Readme
yarrr
YaRrr Package
The yarrr package contains a mixture of data, functions and tutorials supporting the e-book "YaRrr! The Pirate's Guide to R" (www.thepiratesguidetor.com).
To install the (stable) version from CRAN, run the following code
# Install yarrr from CRAN
install.packages("yarrr")
To install the latest developer version from GitHub, run the following code
# Install developer version from GitHub
install.packages("devtools")
devtools::install_github("ndphillips/yarrr",
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
yarrr.guide() # run main package guide
Here are the most important parts of the package:
pirateplot()

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 https://CRAN.R-project.org/package=yarrr for more details
Functions in yarrr
| Name | Description | |
| auction | auction | |
| capture | capture | |
| movies | movies | |
| piratepal | piratepal | |
| BeardLengths | BeardLengths | |
| apa | apa | |
| diamonds | diamonds | |
| examscores | examscores | |
| pirateplot | pirateplot | |
| pirates | pirates | |
| transparent | transparent function | |
| yarrr.guide | Opens the HTML manual for the yarrr package | |
| poopdeck | poopdeck | |
| recodev | recodev | |
| pirateserrors | pirateserrors | |
| pircharter | pircharter | |
| No Results! | ||
Vignettes of yarrr
| Name | ||
| apa.csl | ||
| guide.Rmd | ||
| piratepal.Rmd | ||
| pirateplot.Rmd | ||
| yarrr.bib | ||
| No Results! | ||
Last month downloads
Details
| Date | 2017-4-18 |
| License | GPL-2 |
| LazyData | true |
| URL | www.thepiratesguidetor.com |
| BugReports | https://github.com/ndphillips/yarrr/issues |
| RoxygenNote | 6.0.1 |
| VignetteBuilder | knitr |
| NeedsCompilation | no |
| Packaged | 2017-04-18 10:05:32 UTC; nphillips |
| Repository | CRAN |
| Date/Publication | 2017-04-19 08:39:31 UTC |
| depends | BayesFactor , circlize , jpeg |
| suggests | knitr , rmarkdown |
| Contributors |
Include our badge in your README
[](http://www.rdocumentation.org/packages/yarrr)