Skip to content

Commit

Permalink
Minor docs fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Bisaloo committed Jul 29, 2019
1 parent 1d40cd2 commit aee4bc7
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 13 deletions.
2 changes: 1 addition & 1 deletion R/is.colspace.R
@@ -1,4 +1,4 @@
#' Test is object is of class 'colspace'
#' Test if object is of class 'colspace'
#'
#' @param object an R object
#'
Expand Down
2 changes: 1 addition & 1 deletion R/is.vismodel.R
@@ -1,4 +1,4 @@
#' Test is object is of class 'vismodel'
#' Test if object is of class 'vismodel'
#'
#' @param object an R object
#'
Expand Down
3 changes: 2 additions & 1 deletion R/merge.rspec.R
Expand Up @@ -26,7 +26,8 @@

merge.rspec <- function(x, y, ...) {

chkDots(...)
## allowed arg has not yet been implemented
# chkDots(..., allowed = "by")

if (!all(is.rspec(x), is.rspec(y))) {
stop("One or more invalid rspec objects")
Expand Down
2 changes: 1 addition & 1 deletion R/spec2rgb.R
Expand Up @@ -15,7 +15,7 @@
#' spec2rgb(teal)
#'
#' # Plot data using estimated perceived colour
#' plot(teal, col = spec2rgb(teal), type = "o")
#' plot(teal, col = spec2rgb(teal), type = "overlay")
#' @author Hugo Gruson \email{hugo.gruson+R@@normalesup.org}
#' @author Chad Eliason \email{cme16@@zips.uakron.edu}
#'
Expand Down
4 changes: 2 additions & 2 deletions R/subset.rspec.R
Expand Up @@ -24,10 +24,10 @@
#'
#' # Subset all 'crown' patches (C in file names)
#' head(subset(sicalis, "C"))
#' head(subset(sicalis, c("B", "C")))
#' head(subset(sicalis, "T", invert = TRUE))
#' subset(vis.sicalis, "C")
#' subset(tcs.sicalis, "C")[, seq_len(5)]
#' subset(sicalis, c("B", "C"))
#' subset(sicalis, "T", invert = TRUE)
#' @author Chad Eliason \email{cme16@@zips.uakron.edu}

subset.rspec <- function(x, subset, ...) {
Expand Down
4 changes: 2 additions & 2 deletions man/is.colspace.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/is.vismodel.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/spec2rgb.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/subset.rspec.Rd

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

0 comments on commit aee4bc7

Please sign in to comment.