powered by
Convert samples from a stanfit object to the unconstrained scale
stan_unconstrainsamples(fit, standata = NA)
stanfit object.
only necessary if R session has been restarted since fitting model -- used to reinitialize stanfit object.
Matrix containing columns of unconstrained parameters for each post-warmup iteration.
# NOT RUN { if (!exists("ctstantestfit")) example(ctstantestfit) umat <- stan_unconstrainsamples(ctstantestfit$stanfit, ctstantestfit$standata) # }
Run the code above in your browser using DataLab