From 9ca55786478f8a342f1a2beeb2c4f01981a62800 Mon Sep 17 00:00:00 2001 From: Nan Xiao Date: Fri, 12 Jan 2024 11:00:32 -0500 Subject: [PATCH] Move details into `@details` and improve formula --- R/define.R | 34 ++++++++++++++++++++-------------- man/define_enroll_rate.Rd | 14 ++++++++------ man/define_fail_rate.Rd | 20 +++++++++++--------- 3 files changed, 39 insertions(+), 29 deletions(-) diff --git a/R/define.R b/R/define.R index 4fdf861d..f2935f0a 100644 --- a/R/define.R +++ b/R/define.R @@ -18,12 +18,16 @@ #' Define enrollment rate #' -#' Define the enrollment rate of subjects for a study as following a piecewise exponential distribution. -#' The `duration` are ordered piecewise for a duration equal to \eqn{t_i - t_{i-1}}. -#' where \eqn{0=t_0