diff --git a/DESCRIPTION b/DESCRIPTION index ebda723..b67d4c9 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: visualizeR Type: Package Title: What a color! What a viz! -Version: 0.1.5.9000 +Version: 0.1.6.9000 Authors@R: c( person( 'Noblet', 'Guillaume', @@ -17,7 +17,7 @@ Depends: R (>= 4.1.0) License: GPL (>= 3) Encoding: UTF-8 LazyData: true -RoxygenNote: 7.2.0 +RoxygenNote: 7.2.1 Imports: ggplot2, rlang, diff --git a/docs/404.html b/docs/404.html index db84c38..8e4f506 100644 --- a/docs/404.html +++ b/docs/404.html @@ -13,8 +13,8 @@ - - + + @@ -31,7 +31,7 @@ visualizeR - 0.1.5.9000 + 0.1.6.9000 + + + + + +
+
+
+ +
+

Function to extract IMPACT colors as hex codes

+
+ +
+

Usage

+
cols_impact(..., unnamed = TRUE)
+
+ +
+

Arguments

+
...
+

Character names of reach colors. If NULL returns all colors

+ + +
unnamed
+

Should the output vector be unnamed? Default to `TRUE`

+ +
+
+

Value

+ + +

An hex code or hex codes named or unnamed

+
+
+

Details

+

This function needs to be modified to add colors

+
+ +
+ + +
+ + + + + + + diff --git a/docs/reference/cols_reach.html b/docs/reference/cols_reach.html index 76ef7c9..f2138b2 100644 --- a/docs/reference/cols_reach.html +++ b/docs/reference/cols_reach.html @@ -1,5 +1,5 @@ -Function to extract REACH colors as hex codes — cols_reach • visualizeRFunction to extract REACH colors as hex codes — cols_reach • visualizeR @@ -10,7 +10,7 @@ visualizeR - 0.1.5.9000 + 0.1.6.9000 + + + + + +
+
+
+ +
+

Return function to interpolate an IMPACT color palette

+
+ +
+

Usage

+
pal_impact(
+  palette = "main",
+  reverse = FALSE,
+  color_ramp_palette = FALSE,
+  show_palettes = FALSE,
+  ...
+)
+
+ +
+

Arguments

+
palette
+

Character name of a palette in IMPACT palettes

+ + +
reverse
+

Boolean indicating whether the palette should be reversed

+ + +
color_ramp_palette
+

Should the output be a `grDevices::colorRampPalette` function or a vector of hex codes? Default to the former with `TRUE`

+ + +
show_palettes
+

Should the ouput be the set of palettes names to pick from? Default to `FALSE`

+ + +
...
+

Additional arguments to pass to colorRampPalette()

+ +
+
+

Value

+ + +

A color palette

+
+ +
+ + +
+ + + + + + + diff --git a/docs/reference/pal_reach.html b/docs/reference/pal_reach.html index 81265fb..49360c4 100644 --- a/docs/reference/pal_reach.html +++ b/docs/reference/pal_reach.html @@ -1,5 +1,5 @@ -Return function to interpolate a REACH color palette — pal_reach • visualizeRReturn function to interpolate a REACH color palette — pal_reach • visualizeR @@ -10,7 +10,7 @@ visualizeR - 0.1.5.9000 + 0.1.6.9000