powered by
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 (!exists("ctstantestfit")) example(ctstantestfit) sf <- stan_reinitsf(ctstantestfit$stanmodel,ctstantestfit$standata) # }
Run the code above in your browser using DataLab