| pdfs | R Documentation |
Functions to obtain the probability density functions (PDFs) of a model. These PDFs represent the convolution of the first-passage-time (decision time) with the non-decision time.
pdfs(object, ...)
## S3 method for class 'drift_dm'
pdfs(object, ...)
## S3 method for class 'fits_agg_dm'
pdfs(object, ...)
object |
an object of type drift_dm or
|
... |
additional arguments passed down to the specific method. |
If the model has not been evaluated, re_evaluate_model() is
called before returning the PDFs.
A list with the entries:
pdfs, contains another named list with entries corresponding to the
conditions of the model (see conds()). Each of these elements
is another named list, containing the entries pdf_u and pdf_l, which
are numeric vectors for the PDFs of the upper and lower boundary,
respectively.
t_vec, containing a numeric vector of the time domain.
drift_dm(), re_evaluate_model(),
conds()
# get a pre-built model for demonstration purpose
a_model <- dmc_dm()
str(pdfs(a_model))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.