Skip to content

Commit

Permalink
add integer argument to gs_power_wlr
Browse files Browse the repository at this point in the history
  • Loading branch information
LittleBeannie committed Oct 28, 2024
1 parent 1eba1ea commit 774d5a1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
3 changes: 2 additions & 1 deletion R/gs_power_wlr.R
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,8 @@ gs_power_wlr <- function(enroll_rate = define_enroll_rate(duration = c(2, 2, 10)
approx = "asymptotic",
r = 18,
tol = 1e-6,
interval = c(.01, 1000)) {
interval = c(.01, 1000),
integer = FALSE) {
# check of inputted sample size
input_sample_size <- sum(enroll_rate$rate * enroll_rate$duration)

Expand Down
7 changes: 6 additions & 1 deletion man/gs_power_wlr.Rd

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

0 comments on commit 774d5a1

Please sign in to comment.