Skip to content

Commit

Permalink
update define_enroll_rate documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
elong0527 committed Jan 3, 2024
1 parent 69b34ae commit 21c623e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 5 additions & 1 deletion R/define.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@

#' Define enrollment rate
#'
#' The function define subject enrollment rate for a study.
#' It also supports stratified design that have different enrollment rate in
#' each stratum.
#'
#' @param duration A numeric vector of piecewise study duration interval.
#' @param rate A numeric vector of enrollment rate in each `duration`.
#' @param stratum A character vector of stratum name.
Expand Down Expand Up @@ -74,7 +78,7 @@ define_enroll_rate <- function(
df
}

#' Define fail rate
#' Define failure rate
#'
#' The function define subject failure rate for a study with two treatment groups.
#' It also supports stratified design that have different failure rate in
Expand Down
4 changes: 3 additions & 1 deletion man/define_enroll_rate.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/define_fail_rate.Rd

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

0 comments on commit 21c623e

Please sign in to comment.