Plot delay discounting models.
Arguments
- x
A delay discounting model. See
dd_prob_model
anddd_det_model
.- type
Type of plot to generate.
- legend
Logical: display a legend? Only relevant for
type = 'summary'
andtype = 'rt'
.- p_lines
Numerical vector. When
type = 'summary'
the discount curve, where the probability of selecting the immediate reward is 0.5, is plotted.p_lines
allows you to specify other probabilities for which similar curves should be plotted (only applicable for probabilistic models, e.g.td_bcnm
,td_bclm
andtd_ddm
).- p_tol
If
p_lines
is notNULL
, what is the maximum distance that estimated probabilities can be from their true values? Smaller values results in slower plot generation.- verbose
Whether to print info about, e.g., setting del = ED50 when
type = 'endpoints'
.- del
Plots data for a particular delay.
- val_del
Plots data for a particular delayed value.
- q_lines
When
type = 'rt'
, plot dashed lines for which quantiles of the predicted RT distribution? Default is 0.025 and 0.975 (i.e., a quantile-based 95% confidence interval).- ...
Additional arguments to
plot()
.