Skip to content

Commit

Permalink
Drop thin argument when obtaining initial values for stan_jm
Browse files Browse the repository at this point in the history
  • Loading branch information
sambrilleman committed Sep 24, 2019
1 parent 5d91237 commit 4087cb0
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 4087cb0

Please sign in to comment.