Skip to content

Commit

Permalink
fixes for CRAN submission
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanbeaudette committed Feb 3, 2025
1 parent 66cb2a3 commit 2d277ad
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion R/colorChart.R
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#' @examples
#'
#' # required for latticeExtra:useOuterStrips
#' if(!requireNamespace('latticeExtra')) {
#' if(requireNamespace('latticeExtra')) {
#'
#' # two hue pages
#' ric <- expand.grid(
Expand Down
2 changes: 1 addition & 1 deletion man/colorChart.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions vignettes/label-placement.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ s <- duplicate(s, times = 3)
```


Overlapping horizon depth labels are clear. Note that there are three copies of each simulated variation on the original template.
Overlapping horizon depth labels are clear. Note that there are three copies of each simulated variation on the original template. Colors represent sequence from top to bottom, as a visual aid across perturbed and duplicated profiles.
```{r fig.width=8, fig.height=5, echo = FALSE}
.a <- list(cex.names = 0.8, color = 'nm', name = NA, show.legend = FALSE, hz.depths = TRUE, depth.axis = FALSE, cex.id = 0.66, col.palette = .bluecolors)
Expand All @@ -79,7 +79,7 @@ Selecting the optimal label-adjustment methods and parameters will depend on the

* *electrostatic simulation:* This is generally the best method, having deterministic solutions that typically move labels as little as possible in fewer iterations. It does not do well with many very thin horizons near the top or bottom of the profile. Very complex profiles and larger font sizes may require setting `q` to values larger than 1. Set `q` to values between 0.25-0.75 to minimize adjustment distances. This method cannot (yet) provide a label adjustment solution in the presence of missing horizon depths or horizons where `top == bottom`.

* *simulated annealing:* This method is the most adaptive, typically capable of providing reasonable solutions for even the most complex profiles. The non-deterministic solutions can be undesirable when preparing figures for publication.
* *simulated annealing:* This method is the most adaptive, typically capable of providing reasonable solutions for even the most complex profiles. The non-deterministic solutions can be undesirable when preparing figures for publication. Use `set.seed()` to control output between runs.


### Electrostatic Simulation
Expand Down

0 comments on commit 2d277ad

Please sign in to comment.