Quickly initialise stanfit object from model and data
stan_reinitsf(model, data, fast = FALSE)
stanmodel
standata
Use cut down form for speed
stanfit object
# NOT RUN {
if(w32chk()){
sf <- stan_reinitsf(ctstantestfit$stanmodel,ctstantestfit$standata)
}
# }
Run the code above in your browser using DataLab