Skip to content

Commit

Permalink
update doc for assign_trts
Browse files Browse the repository at this point in the history
  • Loading branch information
emitanaka committed Nov 7, 2023
1 parent e3dafa9 commit 85df087
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 9 deletions.
8 changes: 5 additions & 3 deletions R/assign.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@
#'
#' @param .edibble An edibble design which should have units, treatments and allotment defined.
#' @param order A character vector signifying the apportion of treatments to units.
#' The value should be either "random", "systematic", "systematic-random" or a class name corresponding to the algorithm for order_trts().
#' The value should be either "random", "systematic-fastest", "systematic-slowest",
#' "systematic-random-fastest", "systematic-random-slowest" or a class name corresponding to the algorithm for order_trts().
#' "random" allocates the treatment randomly to units based on specified allotment with restrictions
#' implied by unit structure.
#' "systematic" allocates the treatment in a systematic order to units.
#' "systematic-random" allocates the treatment in a systematic order to units but
#' "systematic-slowest" allocates the treatment in a systematic order to units such that the treatment level is slow in varying.
#' In contrast, "systematic-fastest" is fast in varying for treatment levels.
#' "systematic-random-fastest" and "systematic-random-slowest" allocates the treatment in a systematic order to units but
#' where it is not possible to divide treatments equally (as the number of units are not divisible
#' by the number of levels of the treatment factor), then the extras are chosen randomly.
#' @param seed A scalar value used to set the seed so that the result is reproducible.
Expand Down
8 changes: 5 additions & 3 deletions man/allot_table.Rd

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

8 changes: 5 additions & 3 deletions man/assign_fcts.Rd

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

0 comments on commit 85df087

Please sign in to comment.