Skip to content

Commit

Permalink
Document interplay of argument choices in main function
Browse files Browse the repository at this point in the history
  • Loading branch information
andybeet committed Oct 1, 2024
1 parent 3143f36 commit 2bda438
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
16 changes: 16 additions & 0 deletions R/get_comland_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,22 @@
#'@importFrom data.table ":="
#'@importFrom magrittr "%>%"
#'
#'@section Argument choices:
#'
#'Some of the arguments rely on the choice of others.
#'
#'If \code{aggArea = T} then the user must also supply a \code{userAreas} data frame
#' and a \code{areaDescription} string to denote the field in \code{userArea} which
#' maps the statistical area to the larger spatial unit.
#'
#'If \code{aggGear = T} then the user must also supply a \code{userGears} data frame
#' and a \code{fleetDescription} string to denote the field in \code{userGears} which
#' maps the NEGEAR codes to the fleet designation.
#'
#' If either \code{aggArea = T} or \code{aggGear = T} and the user wants to assign values to
#' missing variables (i.e. if \code{unkVar} != NULL) then \code{unkVar} and \code{knStrata} need to
#' include the values of \code{areaDescription} and \code{fleetDescription} respectively
#'
#'@export


Expand Down
18 changes: 18 additions & 0 deletions man/get_comland_data.Rd

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

0 comments on commit 2bda438

Please sign in to comment.