Skip to content

Commit

Permalink
Merge pull request #5 from MSDLLCpapers/renv_fix
Browse files Browse the repository at this point in the history
update renv for gsDesign/gsDesign2 and the comparison code for latest…
  • Loading branch information
yuliasidi authored Dec 11, 2024
2 parents c563ba5 + 4d078f0 commit 702f2d1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions Comp/r-east_gsd_tte.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,9 @@ pval_fut <- pfs_rpact$futilityBoundsPValueScale
zval_eff <- pfs_rpact_gsd$criticalValues
zval_fut <- pfs_rpact_gsd$futilityBounds
pcross_h0_eff <- pfs_rpact_gsd$alphaSpent
pcross_h0_fut <- as.numeric(summary(pfs_rpact)$summaryItems[[20]]$values[[1]])
pcross_h0_fut <- summary(pfs_rpact)$summaryItems |>
purrr::keep(~.x$title == "Exit probability for futility (under H0)") |>
purrr::map_dbl(~as.numeric(.x$values))
ia1_eff <- c(zval_eff[1], pval_eff[1], hr_bound_eff[1], pcross_h0_eff[1], pcross_h1_eff[1])
fa_eff <- c(zval_eff[2], pval_eff[2], hr_bound_eff[2], pcross_h0_eff[2], pcross_h1_eff[2])
Expand Down Expand Up @@ -461,7 +463,6 @@ pfs_rpact_sum |>
```


```{r}
sessionInfo()
```
Expand Down
4 changes: 2 additions & 2 deletions renv.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1895,7 +1895,7 @@
},
"gsDesign": {
"Package": "gsDesign",
"Version": "3.6.4",
"Version": "3.6.5",
"Source": "Repository",
"Repository": "CRAN",
"Requirements": [
Expand All @@ -1918,7 +1918,7 @@
},
"gsDesign2": {
"Package": "gsDesign2",
"Version": "1.1.2",
"Version": "1.1.3",
"Source": "Repository",
"Repository": "CRAN",
"Requirements": [
Expand Down

0 comments on commit 702f2d1

Please sign in to comment.