Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dankelley committed May 3, 2018
1 parent ddd3c4c commit f6c5670
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 13 deletions.
11 changes: 6 additions & 5 deletions R/ctd.R
Original file line number Diff line number Diff line change
Expand Up @@ -2062,14 +2062,15 @@ ctdFindProfiles <- function(x, cutoff=0.5, minLength=10, minHeight=0.1*diff(rang
#'
#' @param indices Logical value indicating what to return. If \code{indices=FALSE} (the default),
#' then the return value is a subsetted \code{\link{ctd-class}} object. If \code{indices=TRUE},
#' then the return value is a logical vector. The logical vector can be used together with
#' \code{\link{setFlags,ctd-method}} to set flags that will indicate values that could be
#' removed by using \code{\link{handleFlags,ctd-method}}.
#' then the return value is a logical vector that could be used to subset the data
#' with \code{\link{subset,ctd-method}} or to set data-quality flags.
#'
#' @template debugTemplate
#'
#' @return Either an object of \code{\link{ctd-class}}, with data having been trimmed in some way (for
#' the default case, where \code{indices} is \code{FALSE}) or a logical vector of length matching the data.
#' @return Either an object of \code{\link{ctd-class}} or a logical vector of length
#' matching the data. The first option is the default. The second option,
#' achieved by setting \code{indices=FALSE}, may be useful in constructing
#' data flags to be inserted into the object.
#'
#' @examples
#' \dontrun{
Expand Down
3 changes: 0 additions & 3 deletions create_data/ctd/create_ctd.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
library(oce)
source("../../R/ctd.sbe.R")
source("../../R/ctd.R")
source("../../R/oce.R")
ctd <- read.oce("ctd.cnv")
ctd <- oce.edit(ctd, "startTime", ctd[["systemUploadTime"]],
reason="startTime in file has Y2K error", person="Dan Kelley")
Expand Down
11 changes: 6 additions & 5 deletions man/ctdTrim.Rd

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

0 comments on commit f6c5670

Please sign in to comment.