Skip to content

Commit

Permalink
Import strata() and Surv() and remove min survival version
Browse files Browse the repository at this point in the history
  • Loading branch information
jdblischak committed Jan 7, 2025
1 parent e41b7bf commit 21a7188
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Imports:
methods,
mvtnorm,
stats,
survival (>= 3.8),
survival,
utils,
gsDesign2 (>= 1.1.3)
Suggests:
Expand Down
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,6 @@ importFrom(mvtnorm,GenzBretz)
importFrom(mvtnorm,pmvnorm)
importFrom(survival,Surv)
importFrom(survival,is.Surv)
importFrom(survival,strata)
importFrom(survival,survfit)
useDynLib(simtrial, .registration = TRUE)
1 change: 1 addition & 0 deletions R/rmst.R
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ rmst <- function(
#' - `rmst_diff`: the calculation results of RMST differences.
#'
#' @importFrom data.table setDF rbindlist
#' @importFrom survival Surv
#' @keywords internal
#'
#' @examples
Expand Down
1 change: 1 addition & 0 deletions R/sim_fixed_n.R
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
#' @importFrom doFuture "%dofuture%"
#' @importFrom future nbrOfWorkers plan
#' @importFrom methods is
#' @importFrom survival strata Surv
#'
#' @export
#'
Expand Down

0 comments on commit 21a7188

Please sign in to comment.