Skip to content

Commit

Permalink
Merge pull request #387 from stan-dev/bugfix-allow-thin-arg-for-stanjm
Browse files Browse the repository at this point in the history
Drop thin argument when obtaining initial values for stan_jm
  • Loading branch information
bgoodri authored Sep 25, 2019
2 parents 5d91237 + 4087cb0 commit 25686ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/stan_jm.fit.R
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,7 @@ stan_jm.fit <- function(formulaLong = NULL, dataLong = NULL, formulaEvent = NULL
# - obtaining initial values for joint model parameters
# - obtaining appropriate scaling for priors on association parameters
vbdots <- list(...)
dropargs <- c("chains", "cores", "iter", "refresh", "test_grad", "control")
dropargs <- c("chains", "cores", "iter", "refresh", "thin", "test_grad", "control")
for (i in dropargs)
vbdots[[i]] <- NULL
vbpars <- pars_to_monitor(standata, is_jm = FALSE)
Expand Down

0 comments on commit 25686ff

Please sign in to comment.