Skip to content

Commit 79d537c

Browse files
committed
Add back cbind() required to drop Futility column when vector is NULL
1 parent 7035429 commit 79d537c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

R/gsMethods.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,8 @@ gsBoundSummary0 <- function(
384384
} else {
385385
Futility <- NULL
386386
}
387-
pp <- data.frame(Efficacy, Futility, i = 1:(x$k - 1))
387+
# cbind() required here to drop Futility column when it is NULL
388+
pp <- data.frame(cbind(Efficacy, Futility, i = 1:(x$k - 1)))
388389
pp$Value <- "PP"
389390
}
390391
# start a frame for other statistics

0 commit comments

Comments
 (0)