diff --git a/docs/news/index.html b/docs/news/index.html index 6addd6077..ac841d3ef 100644 --- a/docs/news/index.html +++ b/docs/news/index.html @@ -114,15 +114,17 @@

Changelog

Source: NEWS.md -
+

-aqp 1.31 (2021-08-06) Unreleased +aqp 1.31 (2021-08-19) Unreleased

diff --git a/docs/pkgdown.yml b/docs/pkgdown.yml index 73bcd4430..874ad5385 100644 --- a/docs/pkgdown.yml +++ b/docs/pkgdown.yml @@ -2,5 +2,5 @@ pandoc: 2.7.3 pkgdown: 1.6.1 pkgdown_sha: ~ articles: {} -last_built: 2021-08-12T20:01Z +last_built: 2021-08-19T18:26Z diff --git a/docs/reference/colorChart.html b/docs/reference/colorChart.html index 1c1e0035f..d10fac9bb 100644 --- a/docs/reference/colorChart.html +++ b/docs/reference/colorChart.html @@ -123,10 +123,12 @@

Visualize soil colors in Munsell notation according to within-group frequenc
colorChart(
   m,
   g = factor("All"),
-  chip.cex = 3,
-  alpha.wt = 10,
-  alpha.toggle = TRUE,
+  size = TRUE,
   annotate = FALSE,
+  chip.cex = 3,
+  chip.cex.min = 0.1,
+  chip.cex.max = 1,
+  chip.border.col = "black",
   annotate.cex = chip.cex * 0.25
 )
@@ -139,23 +141,31 @@

Arg g -

factor describing group membership, typically a generalization of horizon designation, default value will generat a fake grouping that covers all of the colors in m

+

factor describing group membership, typically a generalization of horizon designation, default value will generate a fake grouping that covers all of the colors in m

+ + + size +

logical, encode group-wise frequency with chip size

+ + + annotate +

logical, annotate color chip frequency

chip.cex -

scaling factor applied to each "chip"

+

scaling factor applied to each color chip

- alpha.wt -

weighted applied to chip transparency

+ chip.cex.min +

lower limit for color chip frequency depiction

- alpha.toggle -

logical, automatically set full opacity (no transparency) when all chips share the same frequency

+ chip.cex.max +

lower limit for color chip frequency depiction

- annotate -

logical, annotate chip frequency

+ chip.border.col +

color for chip borders (outline)

annotate.cex @@ -182,27 +192,23 @@

Examp # combine hue, value, chroma into standard Munsell notation ric <- sprintf("%s %s/%s", ric$hue, ric$value, ric$chroma) - # note that chip frequency-based transparency is disabled + # note that chip frequency-based size is disabled # because all chips have equal frequency - colorChart(ric, chip.cex = 3) + colorChart(ric, chip.cex = 4, size = TRUE) # annotation of frequency - colorChart(ric, chip.cex = 3, annotate = TRUE) - - # disable auto-toggling of transparency when all chips equal - colorChart(ric, chip.cex = 3, alpha.toggle = FALSE) - + colorChart(ric, chip.cex = 4, annotate = TRUE) # bootstrap to larger size ric.big <- sample(ric, size = 100, replace = TRUE) - # note that chip frequency is encoded in transparency + # frequency can be encoded in size colorChart(ric.big, chip.cex = 3) - colorChart(ric.big, chip.cex = 3, annotate = TRUE) - - # adjust transparency weighting - colorChart(ric.big, chip.cex = 3, annotate = TRUE, alpha.wt = 20) + colorChart(ric.big, chip.cex = 5, annotate = TRUE) + # constant size + colorChart(ric.big, chip.cex = 3, size = FALSE) + colorChart(ric.big, chip.cex = 3, size = FALSE, chip.border.col = 'NA') # simulate colors based dE00 thresholding p <- list( @@ -213,7 +219,10 @@

Examp s <- simulateColor(method = 'dE00', n = 500, parameters = p) # result is a list, use the first element - colorChart(s[[1]], chip.cex = 3, alpha.wt = 10, annotate = TRUE) + colorChart(s[[1]], chip.cex = 4) + + # increase the possible range of color chip sizes + colorChart(s[[1]], chip.cex = 4, chip.cex.min = 0.01, chip.cex.max = 2) }

#> Loading required namespace: latticeExtra