Extract an array of subject specific parameters from a ctStanFit object.
Extract an array of subject specific parameters from a ctStanFit object.
ctStanSubjectPars(fit, pointest = TRUE, cores = 2, nsamples = "all")
fit |
fit object |
pointest |
if TRUE, returns only the set of individual difference parameters based on the max a posteriori estimate (or the median if sampling approaches were used). |
cores |
Number of cores to use. |
nsamples |
Number of samples to calculate parameters for. Not used if pointest=TRUE. |
This function returns the estimates of individual parameters, taking into account any covariates and random effects.
an nsamples by nsubjects by nparams array.
indpars <- ctStanSubjectPars(ctstantestfit) dimnames(indpars) plot(indpars[1,,'cint1'],indpars[1,,'cint2'])
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.