README.md

National Park Palettes

![(images/yellowstone_vintage.jpg)]

Yellowstone National Park

Tired of generic mass produced palettes for your plots?

Installation

install.packages("nationalpark")

Or the development version

devtools::install_github("atkinsjeff/nationalpark")

Usage

``` r library("nationalpark")

Palettes

Rocky Mountain National Park, Colorado

np_palette("rockymtn")

Rocky Mountain National Park (image courtesy Liz
Agee)

Tallgrass National Park

np_palette("tallgrass")

library("ggplot2")
ggplot(mtcars, aes(factor(cyl), fill=factor(vs))) +  geom_bar() +
  scale_fill_manual(values = np_palette("tallgrass"))

You can enable figure captions by fig_caption: yes in YAML:

output:
  rmarkdown::html_vignette:
    fig_caption: yes

Then you can use the chunk option fig.cap = "Your figure caption." in knitr.

Also a quote using >:

"He who gives up [code] safety for [code] speed deserves neither." (via)

[1] A footnote here.



atkinsjeff/nationalpark documentation built on May 23, 2019, 8:02 p.m.