powered by
Plot marginal relationships between covariates and parameters for a ctStanFit object.
ctStanTIpredMarginal(fit, tipred, pars, probs = c(0.025, 0.5, 0.975), useimputed = TRUE, plot = TRUE)
ctStanFit object.
Integer representing which tipred to use -- integer corresponds to TIpredNames specification.
Subject level matrices from the ctStanFit output -- e.g, 'DRIFT' or 'DIFFUSION'.
vector of 3 quantile probabilities, the 2nd will be plotted as a line, the outer two as shaded regions.
Logical, include imputed tipreds or only observed?
Logical, whether to plot.
If plot=TRUE, nothing, otherwise an array that can be used with ctPlotArray.
plot=TRUE
# NOT RUN { ctStanTIpredMarginal(ctstantestfit,pars='CINT',tipred=3) # }
Run the code above in your browser using DataLab