Skip to content

Commit

Permalink
Update bmcm_stan.R with comment
Browse files Browse the repository at this point in the history
  • Loading branch information
n8thangreen authored Aug 13, 2024
1 parent 68982bc commit ceeea27
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/bmcm_stan.R
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ bmcm_stan <- function(input_data,

formula_cure <- parse_formula(cureformula, input_data)

# adjust the number of distributions based on the cure model
if (length(distns) == 1) {
if (is_hier(formula_cure)) {
distns <- rep(distns, formula_cure$re_nlevels[1])
Expand Down

0 comments on commit ceeea27

Please sign in to comment.