Man pages for dRiftDM
Estimating (Time-Dependent) Drift Diffusion Models

add_residualConvolute the First Passage Times with the Non-Decision Time...
aggregate_statsAggregate Statistics Across ID
b_codingThe Coding of the Boundaries
b_constantConstant Boundary
b_hyperbolCollapsing Boundary - Hyperbolic Ratio Function
b_weibullCollapsing Boundary - Weibull Function
calc_basic_statsCalculate Basic Statistics for Response Times or Probability...
calc_basic_stats_obsCalculate Basic Mean, Standard Deviations, and Percentages...
calc_cafsCalculate CAFs
calc_cafs_obsCalculate CAFs
calc_delta_funsCalculate delta function(s)
calc_dens_obsCalculate and Combine Density Estimates for Observed and...
calc_fit_statsCalculate Fit Statistics
calc_log_likeCalculate the Log-Likelihood
calc_pdfsCalculate the PDFs
calc_quantilesCalculate Quantiles
calc_quantiles_obsCalculate Quantiles
calc_rmse_evalRMSE Calculation and Helpers
calc_statsCalculate Statistics
calc_stats_pred_obsCalculate Statistics for Model Prediction and/or Observed...
call_log_posterior_mMetropolis Acceptance Step for Vectorized MCMC Sampling
check_b_codingCheck a B_Coding
check_digit_larger_0Checks if a variable/vector of length 1 is a number > 0 or...
check_discretizationCheck time/space discretization via reference comparison
check_if_named_numeric_vectorCheck if Object is a Named Numeric Vector
check_internal_listchecks if all entries of internal_list are an expression or...
check_reduce_raw_dataCheck and Reduce the Observed Data
coef.drift_dmAccess Coefficients of a Model
comp_funsThe Component Functions of A Model
component_shelfDiffusion Model Components
comp_valsEvaluate all Component Functions
condsThe Conditions of an Object
copy_class_attributesCopy Class Attributes from One Object to Another
cost_functionAccess/Replace the Cost Function Label and Access the Cost...
count_unique_prms_one_internal_entryCount the number of digits > 0
create_matrix_smartCreate a matrix for lower and upper
create_temperaturesCreate "Temperatures" for TIDE
crossoverPerform Crossover Between Chains
d_default_prior_hyperDefault Prior for Group-Level (Hyper) Parameters
ddm_optsOptional Arguments for the Component Functions
defaultsDefault Values for the dRiftDM Package
dmc_dmCreate the Diffusion Model for Conflict Tasks
dmc_synth_dataA synthetic data set with two conditions
do_resamplingTemporarily suppress new stats generation during resampling
draw_from_pdfDraw Samples Using Inverse Transform Sampling
drift_dmCreate a drift_dm object
drift_dm_cost_functionsAvailable Cost Functions for Model Estimation
dRiftDM-packagedRiftDM: Estimating (Time-Dependent) Drift Diffusion Models
drift_dm_pre_built_modelsPre-built Drift Diffusion Models
drift_dm_stats_typesAvailable types of statistics
drop_levels_ID_columnMaybe droplevels of ID column
dt_b_constantDerivative of a Constant Boundary
dtnormTruncated Normal Density Function
estimate_bayes_h(Hierarchical) Bayesian Estimation with Differential...
estimate_bayesian(Hierarchical) Bayesian Estimation
estimate_classicalEstimate Parameters of a 'drift_dm' Model via Classical...
estimate_classical_wrapperInternal wrapper for classical estimation of individuals
estimate_dmFit a DDM to Observed Data
estimate_modelEstimate the Parameters of a drift_dm Model
estimate_model_idsFit Multiple Individuals and Save Results
flex_cust_prmSpecify custom parameters
flex_fix_prmsExclude parameters from being modified (i.e., fix it;...
flex_prmsFlex_Prms
flex_restrain_prmsSet parameters as equal across conditions
flex_special_dependencySet special dependencies (internal docu)
flex_specific_valueSet a specific value to the parameter matrix (internal docu)
flex_vary_prmsAllow parameters to vary
full_crossoverPerform a Full Crossover Step Using Differential Evolution
get_avg_trialsCompute average trials per condition across individuals
get_default_functionsGet default/fall back component functions
get_default_prior_settingsGenerate Prior Functions for Model Parameters
get_example_fitsAuxiliary Function to load a 'fits_ids_dm', 'fits_agg_dm', or...
get_ez_diffusionCompute EZ Diffusion parameters
get_lower_upperGet Default Parameter Ranges for a Model
get_parameters_smartTurn default/special parameter specifications to vectors
get_starting_valuesTITLE
get_subset_chainsExtract a Subset of MCMC Chains
hist.coefs_dmPlot Parameter Distribution(s)
internal_aggregateAggregate Data Frame Columns by Group
internal_list_to_matrixTurn an internal list to a matrix
is_emptyCheck if an object of length <= 1 is either empty or contains...
is_numericCheck if an object is a valid numeric vector
linearize_internal_listRelabel the internal list
load_fits_idsLoad Estimates of a Fit Procedure
logLik.drift_dmExtract Log-Likelihood for a drift_dm Object
logLik.fits_ids_dmExtract Model Statistics for fits_ids_dm Object
log_posterior_hyperConditional Log-Posterior Distributions for MCMC Sampling
max_number_one_internal_entryGet the maximum number from an internal entry or...
mcmc_dm_to_coda_mcmcConvert MCMC Chain Array to a 'coda::mcmc.list' Object
migration_crossoverPerform a Migration Step Between Chains
modify_flex_prmsSet Instructions to a flex_prms object
mu_constantConstant Drift Rate
mu_dmcDrift Rate for DMC
mu_int_constantIntegral of Constant Drift Rate
mu_int_dmcIntegral of DMC's Drift Rate
mu_sspDrift Rate for SSP
new_drift_dmCreate a DDM model - internal
new_stats_dmCreate a New stats_dm Object
nobs.drift_dmGet the Number of Observations for a drift_dm Object
nt_constantConstant Non-Decision time
nt_truncated_normalTruncated Normally-Distributed Non-Decision Time
nt_uniformUniform Non-Decision Time
obs_dataThe Observed Data
obs_data_to_rt_listsDisassemble an Observed Data set
pdfsAccess the Probability Density Functions of a Model
plot.cafsPlot Conditional Accuracy Functions (CAFs)
plot.delta_funsPlot Delta Functions
plot.densitiesPlot Distributions of Predicted and Observed Data
plot.drift_dmPlot Components of a Drift Diffusion Model
plot.mcmc_dmPlot MCMC Results and Diagnostics for 'mcmc_dm' Objects
plot_mcmc_tracePlot MCMC Chains for Drift Diffusion Model Parameters
plot.quantilesPlot Response Time Quantiles
plot.stats_dm_listPlot Multiple Statistics
plot.traces_dm_listPlot Traces of a Drift Diffusion Model
print.cafsPrint Functions for Stats Objects
prm_cond_combo_2_labelsGenerate Parameter-Condition Labels
prms_cond_comboUnique Conditions-Parameter Combinations
prms_conds_to_modifyExtract the conditions and parameters from an instruction...
prms_solveThe Parameters for Deriving Model Predictions
prms_to_strFormat Parameters as String
ratcliff_dmCreate a Basic Diffusion Model
ratcliff_synth_dataA synthetic data set with one condition
re_evaluate_modelRe-evaluate the model
remove_estimate_infoRemove flags added when calling estimate_classical
resample_helpersInternal Helpers for Resampling of Summary Statistics
set_agg_dataSet aggregated data to a model object
set_default_argumentsSet default graphical parameters for plotting in dRiftDM
set_default_colorsSet Default Colors
set_one_solver_settingSet one specific aspect of the solver settings
simulate_dataSimulate Synthetic Responses
simulate_one_data_setSimulate one data set
simulate_tracesSimulate Trajectories/Traces of a Model
simulate_traces_one_condSimulate Traces for One Conditions
simulate_valuesSimulate Values
solverThe Solver for Deriving Model Predictions
sort_one_internal_entrySorts the numbers in ascending order
ssp_dmCreate the Shrinking Spotlight Model
ssp_synth_dataA synthetic data set with two conditions
stats_from_pdfs_agg_infoGet Quantiles/CAFs from PDFs and stats_agg_info
stats.optionsHelper to get, set, or reset package-global options for...
stats_resample_dmResample Observed and Predicted Statistics for Interval...
summarize_drift_dm_infoReads Info file
summary.coefs_dmSummary for 'coefs_dm' Objects
summary.drift_dmSummary for 'drift_dm' objects
summary.fits_agg_dmSummary and Printing for 'fits_agg_dm' Objects
summary.fits_ids_dmSummary and Printing for fits_ids_dm Objects
summary.flex_prmsSummarizing Flex Parameters
summary.mcmc_dmSummary for 'mcmc_dm' Objects
summary.stats_dmSummary for 'stats_dm' Objects
summary.traces_dmSummary for traces_dm and traces_dm_list Objects
trapzNumerical integration using the trapezoidal rule
try_cast_integerConvert Character Digits to Numeric Digits
ulrich_flanker_dataExemplary Flanker Data
ulrich_simon_dataExemplary Simon Data
unpack_objUnpack/Destroy dRiftDM Objects
unpack_tracesUnpack/Destroy Traces Objects
update_special_valuesUpdate all prms
update_stats_aggUpdate aggregated statistics in a 'drift_dm' object
validate_drift_dmValidate a DDM object
validate_fits_idsValidate a an Object of Type fits_ids_dm
validate_flex_prmschecks if a flex_prms_object is parameterized in a reasonable...
validate_stats_dmValidate a stats_dm Object
x2prms_valsUpdate the parameter matrix for vector inputs (internal docu)
x_betaBeta-Shaped Starting Point Distribution Centered Around Zero
x_dirac_0Constant Starting Point at Zero
x_uniformUniform Starting Point Distribution Centered Around Zero
dRiftDM documentation built on Dec. 1, 2025, 5:08 p.m.