Man pages for EMC2
Bayesian Hierarchical Analysis of Cognitive Models of Choice

align_loadingsReorder MCMC Samples of Factor Loadings
auto_thinAutomatically Thin an emc Object
chain_nMCMC Chain Iterations
checkConvergence Checks for an emc Object
compareInformation Criteria and Marginal Likelihoods
compare_subjectInformation Criteria For Each Participant
contr.anovaAnova Style Contrast Matrix
contr.bayesContrast Enforcing Equal Prior Variance on each Level
contr.decreasingContrast Enforcing Decreasing Estimates
contr.increasingContrast Enforcing Increasing Estimates
convolve_design_matrixConvolve Events with HRF to Construct Design Matrices
crediblePosterior Credible Interval Tests
credintPosterior Quantiles
cut_factorsCut Factors Based on Credible Loadings
DDMThe Diffusion Decision Model
DDMGNGThe GNG (go/nogo) Diffusion Decision Model
designSpecify a Design and Model
design_fmriCreate fMRI Design for EMC2 Sampling
EMC2-packageEMC2: Bayesian Hierarchical Analysis of Cognitive Models of...
ess_summaryEffective Sample Size
factor_diagramFactor diagram plot #Makes a factor diagram plot. Heavily...
fitModel Estimation in EMC2
forstmannForstmann et al.'s Data
gd_summaryGelman-Rubin Statistic
get_BayesFactorBayes Factors
get_dataGet Data
get_designGet Design
get_group_designGet Group Design
get_parsFilter/Manipulate Parameters from emc Object
get_priorGet Prior
get_trend_pnamesGet parameter types from trend object
group_designCreate Group-Level Design Matrices
high_pass_filterApply High-Pass Filtering to fMRI Data
hypothesisWithin-Model Hypothesis Testing
init_chainsInitialize Chains
LBAThe Linear Ballistic Accumulator model
LNRThe Log-Normal Race Model
make_dataSimulate Data
make_emcMake an emc Object
make_random_effectsGenerate Subject-Level Parameters
make_SEM_diagramMake SEM Diagram
make_sem_structureDefine Structural Equation Model (SEM) Matrices
make_trendCreate a trend specification for model parameters
mapped_parsParameter Mapping Back to the Design Factors
merge_chainsMerge Samples
model_averagingModel Averaging
MRIGLM model for fMRI data
MRI_AR1Create an AR(1) GLM model for fMRI data
pairs_posteriorPlot Within-Chain Correlations
parametersReturn Data Frame of Parameters
plot_cafPlot conditional accuracy functions
plot_cdfPlot Defective Cumulative Distribution Functions
plot_deltaPlot Difference of Cumulative Distribution Functions
plot_densityPlot Defective Densities
plot_designPlot Design
plot_design_fmriPlot fMRI Design Matrix
plot.emcPlot Function for emc Objects
plot.emc.designPlot method for emc.design objects
plot.emc.priorPlot a prior
plot_fmriPlot fMRI peri-stimulus time courses
plot_parsPlots Density for Parameters
plot_relationsPlot Group-Level Relations
plot_sbc_ecdfPlot the ECDF Difference in SBC Ranks
plot_sbc_histPlot the Histogram of the Observed Rank Statistics of SBC
plot_ss_ifPlot Inhibition Functions
plot_ss_srrtPlot Mean SRRT
plot_statPlot Statistics on Data
plot_trendPlots trends over time
predict.emcGenerate Posterior/Prior Predictives
priorSpecify Priors for the Chosen Model
prior_helpPrior Specification Information
profile_plotLikelihood Profile Plots
RDMThe Racing Diffusion Model
recoveryRecovery Plots
register_trendRegister a custom C++ trend kernel
reshape_eventsReshape events data for fMRI analysis
rotate_loadingsRotate loadings based on posterior median
run_bridge_samplingEstimating Marginal Likelihoods Using WARP-III Bridge...
run_emcFine-Tuned Model Estimation
run_hyperRun a Group-level Model.
run_sbcSimulation-Based Calibration
sampled_parsGet Model Parameters from a Design
samples_LNRLNR Model of Forstmann Data (First 3 Subjects)
SDTGaussian Signal Detection Theory Model for Binary Responses
split_timeseriesSplit fMRI Timeseries Data by ROI Columns
subset.emcShorten an emc Object
summary.emcSummary Statistics for emc Objects
summary.emc.designSummary method for emc.design objects
summary.emc.group_designSummary method for emc.group_design objects
summary.emc.priorSummary method for emc.prior objects
trend_helpGet help information for trend kernels and bases
update2versionUpdate EMC Objects to the Current Version
EMC2 documentation built on Dec. 2, 2025, 9:06 a.m.