Skip to content

Commit 9f43d60

Browse files
committed
remove the unnecessary check
1 parent 9e40eb5 commit 9f43d60

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

R/summary.R

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -329,10 +329,6 @@ summary.gs_design <- function(object,
329329
# If the method is WLR, change HR to wHR
330330
if (method == "wlr") xy <- replace_names(xy, c("~hr at bound" = "~whr at bound"))
331331

332-
# If the method is COMBO, remove the column of "~HR at bound", and remove AHR from header
333-
if (method == "combo" && "~hr at bound" %in% names(xy))
334-
stop("'~hr at bound' can't be displayed!")
335-
336332
output <- table_ab(
337333
# A data frame to be show as the summary header
338334
# It has only ONE record for each value of `byvar`

0 commit comments

Comments
 (0)