I am trying to fit a stan4bart model after the latest update but am getting the following error:
fit <- stan4bart(dx ~ bart(. - dx - history) + history, dat_new[dat_new$train,],
cores = 1, seed = 0,
verbose = 1,
bart_args=list(keepTrees=T),
test=dat_new[!dat_new$train,])
'varlist' has changed (from nvar=9) to new 10 after EncodeVars() -- should no longer happen!
I am trying to fit a stan4bart model after the latest update but am getting the following error: