ctStanTIpredeffects(fit, probs = c(0.25, 0.5, 0.75), whichTIpreds = 1, whichpars = "all", plot = FALSE, ...)
ctStanFit
fit$ctstanmodel$TIpredNames
.1:sum(fit$ctstanmodel$pars$indvarying)
.
The integer corresponding to specific parameters can be found as follows, replacing fit
as appropriate:
fit$ctstanmodel$pars[sf$ctstanmodel$pars$indvarying,'param']
.ctPlotArray
is used to plot the output instead.ctPlotArray
for plotting.ctStanTIpredeffects(ctstantestfit,plot=TRUE)
ctStanTIpredeffects(ctstantestfit,plot=TRUE,separate=TRUE)
Run the code above in your browser using DataLab