Skip to content

Commit

Permalink
fixed method typo
Browse files Browse the repository at this point in the history
  • Loading branch information
n8thangreen committed Aug 27, 2024
1 parent 83033dd commit 8785991
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 300 deletions.
1 change: 0 additions & 1 deletion R/prep_S_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ prep_S_data <- function(stan_extract,
for (i in tx_idx) {

# extract survival data

S_0_extract <- stan_extract[[S_0]]
S_bg_extract <- stan_extract$S_bg

Expand Down
4 changes: 2 additions & 2 deletions R/prep_S_joint_data.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

#
prep_S_joint_data <- function(bmcm_out, ...) {
UseMethod("plot_S_joint")
UseMethod("prep_S_joint_data")
}

#' Prepare data for survival plot
Expand Down Expand Up @@ -72,7 +72,7 @@ prep_S_joint_data.default <- function(bmcm_out) {

S_stats <- list()

matches <- grep(pattern = "^cf_\\d+\\[1\\]", names(bmcm_out))
matches <- grep(pattern = "^cf_\\d+", names(bmcm_out))
n_groups <- length(matches)
event_type <- 1:n_groups

Expand Down
Binary file removed inst/stan/precompiled_stan_model.RDS
Binary file not shown.
297 changes: 0 additions & 297 deletions inst/stan/temp.stan

This file was deleted.

0 comments on commit 8785991

Please sign in to comment.