Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Type: Package
Package: CCAMLRGIS
Title: Antarctic Spatial Data Manipulation
Version: 4.2.1
Date: 2025-02-14
Date: 2025-02-17
Authors@R:
c(person("Stephane","Thanassekos",role = c("aut", "cre"), email = "[email protected]"),
person("Keith", "Reid", role = "aut"),
Expand Down
2 changes: 1 addition & 1 deletion R/add_Cscale.R
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
#' @seealso
#' \code{\link{load_Bathy}}, \code{\link{SmallBathy}}, \code{\link{Depth_cuts}}, \code{\link{Depth_cols}},
#' \code{\link{Depth_cuts2}}, \code{\link{Depth_cols2}}, \code{\link{add_col}}, \code{\link{add_Legend}},
#' \href{http://www.stat.columbia.edu/~tzheng/files/Rcolor.pdf}{R colors}, \code{\link[graphics]{legend}}.
#' \href{https://sites.stat.columbia.edu/tzheng/files/Rcolor.pdf}{R colors}, \code{\link[graphics]{legend}}.
#'
#' @examples
#'
Expand Down
4 changes: 2 additions & 2 deletions R/add_col.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
#' @param cuts numeric, controls color classes. Either one value (in which case \code{n=cuts} equally
#' spaced color classes are generated) or a vector (in which case irregular color classes are
#' generated e.g.: \code{c(-10,0,100,2000)}).
#' @param cols character vector of colors (see R standard color names \href{http://www.stat.columbia.edu/~tzheng/files/Rcolor.pdf}{here}).
#' @param cols character vector of colors (see R standard color names \href{https://sites.stat.columbia.edu/tzheng/files/Rcolor.pdf}{here}).
#' \code{cols} are interpolated along \code{cuts}. Color codes as those generated,
#' for example, by \code{\link[grDevices]{rgb}} may also be used.
#' @return list containing the colors for the variable \code{var} (given as \code{$varcol} in the output) as
#' well as the single \code{cols} and \code{cuts}, to be used as inputs in \code{\link{add_Cscale}}.
#'
#' @seealso
#' \code{\link{add_Cscale}}, \code{\link{create_PolyGrids}}, \code{\link{add_Legend}},
#' \href{http://www.stat.columbia.edu/~tzheng/files/Rcolor.pdf}{R colors}.
#' \href{https://sites.stat.columbia.edu/tzheng/files/Rcolor.pdf}{R colors}.
#'
#' @examples
#'
Expand Down
2 changes: 1 addition & 1 deletion R/add_labels.R
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#' @seealso \code{\link{Labels}}, \code{\link{load_ASDs}}, \code{\link{load_SSRUs}}, \code{\link{load_RBs}},
#' \code{\link{load_SSMUs}}, \code{\link{load_MAs}}, \code{\link{load_EEZs}},
#' \code{\link{load_MPAs}}, \code{\link{add_Legend}},
#' \href{http://www.stat.columbia.edu/~tzheng/files/Rcolor.pdf}{R colors}.
#' \href{https://sites.stat.columbia.edu/tzheng/files/Rcolor.pdf}{R colors}.
#'
#' @examples
#' \donttest{
Expand Down
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -1782,7 +1782,7 @@ Adding colors to plots revolves around two functions:
?add_Cscale
```

*add_col()* generates colors for a variable of interest as well as a set of color classes and colors to be used as inputs to the *add_Cscale()* function. Colors and color classes may be generated automatically or customized, depending on the intended appearance. Knowing the names of colors in R would be useful here (<http://www.stat.columbia.edu/~tzheng/files/Rcolor.pdf>).
*add_col()* generates colors for a variable of interest as well as a set of color classes and colors to be used as inputs to the *add_Cscale()* function. Colors and color classes may be generated automatically or customized, depending on the intended appearance. Knowing the names of colors in R would be useful here (<https://sites.stat.columbia.edu/tzheng/files/Rcolor.pdf>).

```{r message=F,eval=T}

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1939,7 +1939,7 @@ of color classes and colors to be used as inputs to the *add_Cscale()*
function. Colors and color classes may be generated automatically or
customized, depending on the intended appearance. Knowing the names of
colors in R would be useful here
(<http://www.stat.columbia.edu/~tzheng/files/Rcolor.pdf>).
(<https://sites.stat.columbia.edu/tzheng/files/Rcolor.pdf>).

``` r

Expand Down
2 changes: 1 addition & 1 deletion man/add_Cscale.Rd

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

4 changes: 2 additions & 2 deletions man/add_col.Rd

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

2 changes: 1 addition & 1 deletion man/add_labels.Rd

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

Loading