Skip to content

Commit 1439e2d

Browse files
committed
adjust the space alignment
1 parent 12a59b7 commit 1439e2d

File tree

1 file changed

+10
-15
lines changed

1 file changed

+10
-15
lines changed

R/gs_info_ahr.R

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -79,21 +79,16 @@
7979
#' gs_info_ahr(event = c(30, 40, 50), analysis_time = c(16, 19, 26))
8080
#' gs_info_ahr(event = c(30, 40, 50), analysis_time = c(14, 20, 24))
8181
#' }
82-
gs_info_ahr <- function(
83-
enroll_rate = define_enroll_rate(
84-
duration = c(2, 2, 10),
85-
rate = c(3, 6, 9)
86-
),
87-
fail_rate = define_fail_rate(
88-
duration = c(3, 100),
89-
fail_rate = log(2) / c(9, 18),
90-
hr = c(.9, .6),
91-
dropout_rate = .001
92-
),
93-
ratio = 1,
94-
event = NULL,
95-
analysis_time = NULL,
96-
interval = c(.01, 1000)) {
82+
gs_info_ahr <- function(enroll_rate = define_enroll_rate(duration = c(2, 2, 10),
83+
rate = c(3, 6, 9)),
84+
fail_rate = define_fail_rate(duration = c(3, 100),
85+
fail_rate = log(2) / c(9, 18),
86+
hr = c(.9, .6),
87+
dropout_rate = .001),
88+
ratio = 1,
89+
event = NULL,
90+
analysis_time = NULL,
91+
interval = c(.01, 1000)) {
9792
# -------------------------- #
9893
# Check input values #
9994
# -------------------------- #

0 commit comments

Comments
 (0)