diff --git a/README.Rmd b/README.Rmd index 570b749..d8d11f1 100644 --- a/README.Rmd +++ b/README.Rmd @@ -4,12 +4,11 @@ output: github_document -```{r, echo = FALSE, include=FALSE} +```{r, echo = FALSE} knitr::opts_chunk$set( collapse = TRUE, comment = "#>", - fig.path = file.path("tools", "README-"), - dev = if (require("Cairo")) "CairoPNG" else "png" + fig.path = "man/figures/README-" ) ``` diff --git a/README.md b/README.md index e49b3e2..e8e7a11 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ We can retrieve the generated colors in hex format ``` r pal$hex -#> [1] "#74C970" "#766AC9" "#C86D6A" "#DCCFE0" +#> [1] "#74C970" "#97B9DB" "#CD9675" "#C96AC1" ``` Alternatively, we can create a palette using one of the predefined color @@ -61,10 +61,10 @@ the palette we have generated. ``` r pal2$de_DIN99d -#> #D4C76F #616FC8 #D0E0E8 -#> #616FC8 29.14409 -#> #D0E0E8 18.78602 21.76547 -#> #A08587 18.59491 18.38472 18.34490 +#> #A07D68 #E6E1B5 #616FC8 +#> #E6E1B5 17.90368 +#> #616FC8 22.32321 27.55999 +#> #CEC9E8 19.65706 18.00590 17.82840 ``` The palette may also be plotted with in a multidimensional scaling plot @@ -74,7 +74,7 @@ generated from the distance matrix of the colors in the palette. plot(pal2) ``` -![](tools/README-plot-1.png) +![](man/figures/README-plot-1.png) Or it might be plotted in one of the provided color spaces as a scatterplot matrix. @@ -83,7 +83,7 @@ scatterplot matrix. pairs(pal2, colorspace = "HSL") ``` -![](tools/README-pairs-1.png) +![](man/figures/README-pairs-1.png) ## Installation diff --git a/man/figures/README-pairs-1.png b/man/figures/README-pairs-1.png new file mode 100644 index 0000000..a5af175 Binary files /dev/null and b/man/figures/README-pairs-1.png differ diff --git a/man/figures/README-plot-1.png b/man/figures/README-plot-1.png new file mode 100644 index 0000000..a226546 Binary files /dev/null and b/man/figures/README-plot-1.png differ diff --git a/tools/README-pairs-1.png b/tools/README-pairs-1.png deleted file mode 100644 index 0cbf534..0000000 Binary files a/tools/README-pairs-1.png and /dev/null differ diff --git a/tools/README-plot-1.png b/tools/README-plot-1.png deleted file mode 100644 index 5f8e343..0000000 Binary files a/tools/README-plot-1.png and /dev/null differ