Skip to content

Commit 97e9b9d

Browse files
committed
Deploying to gh-pages from @ 1b56b9f 🚀
1 parent c0a54d8 commit 97e9b9d

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

pkgdown.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ articles:
2222
articles/story-seven-test-types: story-seven-test-types.html
2323
articles/story-spending-time-example: story-spending-time-example.html
2424
articles/story-update-boundary: story-update-boundary.html
25-
last_built: 2025-11-07T22:51Z
25+
last_built: 2025-11-07T22:58Z
2626
urls:
2727
reference: https://merck.github.io/gsDesign2/reference
2828
article: https://merck.github.io/gsDesign2/articles

reference/text_summary.html

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

reference/text_summary.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ library(gsDesign)
4040
# Text summary of a 1-sided design
4141
x <- gs_design_ahr(info_frac = 1:3/3, test_lower = FALSE) |> to_integer()
4242
x |> text_summary()
43-
#> [1] "One-sided group sequential design with 3 analyses, time-to-event outcome with sample size 490 and 301 events, 2.5 percent (1-sided) Type I error. Enrollment and total study durations are assumed to be 14 and 36.1 months, respectively. Efficacy bounds derived using a Lan-DeMets O'Brien-Fleming approximation spending function (no parameters). With hazard ratio of 0.9 during the first 3 months and 0.6 thereafter, the power is 90 percent."
43+
#> [1] "One-sided group sequential design with 3 analyses, time-to-event outcome with sample size 490 and 301 events, 90 percent power, 2.5 percent (1-sided) Type I error to detect hazard ratio of 0.9 during the first 3 months and 0.6 thereafter. Enrollment and total study durations are assumed to be 14 and 36.1 months, respectively. Efficacy bounds derived using a Lan-DeMets O'Brien-Fleming approximation spending function (no parameters)."
4444

4545
# Text summary of a 2-sided symmetric design
4646
x <- gs_design_ahr(info_frac = 1:3/3,
@@ -49,7 +49,7 @@ x <- gs_design_ahr(info_frac = 1:3/3,
4949
lpar = list(sf = sfLDOF, total_spend = 0.025),
5050
binding = TRUE, h1_spending = FALSE) |> to_integer()
5151
x |> text_summary()
52-
#> [1] "Symmetric two-sided group sequential design with 3 analyses, time-to-event outcome with sample size 490 and 301 events, 2.5 percent (1-sided) Type I error. Enrollment and total study durations are assumed to be 14 and 36.1 months, respectively. Bounds derived using a Lan-DeMets O'Brien-Fleming approximation spending function (no parameters). With hazard ratio of 0.9 during the first 3 months and 0.6 thereafter, the power is 90 percent."
52+
#> [1] "Symmetric two-sided group sequential design with 3 analyses, time-to-event outcome with sample size 490 and 301 events, 90 percent power, 2.5 percent (1-sided) Type I error to detect hazard ratio of 0.9 during the first 3 months and 0.6 thereafter. Enrollment and total study durations are assumed to be 14 and 36.1 months, respectively. Bounds derived using a Lan-DeMets O'Brien-Fleming approximation spending function (no parameters)."
5353

5454
# Text summary of a asymmetric 2-sided design with beta-spending and non-binding futility bound
5555
x <- gs_design_ahr(info_frac = 1:3/3, alpha = 0.025, beta = 0.1,
@@ -58,7 +58,7 @@ x <- gs_design_ahr(info_frac = 1:3/3, alpha = 0.025, beta = 0.1,
5858
lpar = list(sf = sfHSD, total_spend = 0.1, param = -4),
5959
binding = FALSE, h1_spending = TRUE) |> to_integer()
6060
x |> text_summary()
61-
#> [1] "Asymmetric two-sided group sequential design with non-binding futility bound, 3 analyses, time-to-event outcome with sample size 500 and 306 events, 2.5 percent (1-sided) Type I error. Enrollment and total study durations are assumed to be 14 and 35.9 months, respectively. Efficacy bounds derived using a Lan-DeMets O'Brien-Fleming approximation spending function (no parameters). Futility bounds derived using a Hwang-Shih-DeCani spending function with gamma = -4. With hazard ratio of 0.9 during the first 3 months and 0.6 thereafter, the power is 90 percent."
61+
#> [1] "Asymmetric two-sided group sequential design with non-binding futility bound, 3 analyses, time-to-event outcome with sample size 500 and 306 events, 90 percent power, 2.5 percent (1-sided) Type I error to detect hazard ratio of 0.9 during the first 3 months and 0.6 thereafter. Enrollment and total study durations are assumed to be 14 and 35.9 months, respectively. Efficacy bounds derived using a Lan-DeMets O'Brien-Fleming approximation spending function (no parameters). Futility bounds derived using a Hwang-Shih-DeCani spending function with gamma = -4."
6262

6363
# Text summary of a asymmetric 2-sided design with fixed non-binding futility bound
6464
x <- gs_design_ahr(info_frac = 1:3/3, alpha = 0.025, beta = 0.1,
@@ -69,7 +69,7 @@ x <- gs_design_ahr(info_frac = 1:3/3, alpha = 0.025, beta = 0.1,
6969
test_lower = c(TRUE, FALSE, FALSE),
7070
binding = FALSE, h1_spending = TRUE) |> to_integer()
7171
x |> text_summary()
72-
#> [1] "Asymmetric two-sided group sequential design with non-binding futility bound, 3 analyses, time-to-event outcome with sample size 506 and 311 events, 2.5 percent (1-sided) Type I error. Enrollment and total study durations are assumed to be 14 and 36.1 months, respectively. Efficacy bounds derived using a Lan-DeMets O'Brien-Fleming approximation spending function (no parameters), tested at tested at IA2, FA. Futility bounds is fixed as -1, -Inf, -Inf, tested at tested at IA1. With hazard ratio of 0.9 during the first 3 months and 0.6 thereafter, the power is 90 percent."
72+
#> [1] "Asymmetric two-sided group sequential design with non-binding futility bound, 3 analyses, time-to-event outcome with sample size 506 and 311 events, 90 percent power, 2.5 percent (1-sided) Type I error to detect hazard ratio of 0.9 during the first 3 months and 0.6 thereafter. Enrollment and total study durations are assumed to be 14 and 36.1 months, respectively. Efficacy bounds derived using a Lan-DeMets O'Brien-Fleming approximation spending function (no parameters), tested at tested at IA2, FA. Futility bounds is fixed as -1, -Inf, -Inf, tested at tested at IA1."
7373

7474
# If there are >5 pieces of HRs, we provide a brief summary of HR.
7575
gs_design_ahr(

search.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)