Skip to content

Commit

Permalink
Amend the documentation for cutpoints in ds
Browse files Browse the repository at this point in the history
Reference #144
  • Loading branch information
LHMarshall committed Dec 14, 2023
1 parent 07259f0 commit e260202
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
12 changes: 8 additions & 4 deletions R/ds.R
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,15 @@
#' key is uniform only `"width"` will be used. The other option is `"scale"`:
#' the scale parameter of the detection
#' @param cutpoints if the data are binned, this vector gives the cutpoints of
#' the bins. Ensure that the first element is 0 (or the left truncation
#' the bins. Supplying a distance column in your data and specifying cutpoints
#' is the recommended approach for all standard binned analyses.
#' Ensure that the first element is 0 (or the left truncation
#' distance) and the last is the distance to the end of the furthest bin.
#' (Default `NULL`, no binning.) Note that if `data` has columns `distbegin`
#' and `distend` then these will be used as bins if `cutpoints` is not
#' specified. If both are specified, `cutpoints` has precedence.
#' (Default `NULL`, no binning.) If you have provided `distbegin` and `distend`
#' columns in your data (note this should only be used when your cutpoints
#' are not constant across all your data, e.g. planes flying at differing
#' altitudes) then do not specify the cutpoints argument as this will cause
#' the `distbegin` and `distend` columns in your data to be overwritten.
#' @param monotonicity should the detection function be constrained for
#' monotonicity weakly (`"weak"`), strictly (`"strict"`) or not at all
#' (`"none"` or `FALSE`). See Monotonicity, below. (Default `"strict"`). By
Expand Down
12 changes: 8 additions & 4 deletions man/ds.Rd

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

0 comments on commit e260202

Please sign in to comment.