pdfs | R Documentation |
Functions to obtain the probability density functions (PDFs) of a model. These PDFs represent the first-passage-time.
pdfs(object, ...)
## S3 method for class 'drift_dm'
pdfs(object, ...)
object |
an object of type drift_dm. |
... |
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 named elements corresponding to the conditions of a model (see
conds()
). Each of these elements is another list, containing the
entries pdf_u
and pdf_l
, which are numeric vectors for the PDFs of the
upper and lower boundary, respectively.
drift_dm()
, re_evaluate_model()
,
conds()
# get a pre-built model for demonstration purpose
a_model <- dmc_dm(dx = .0025, dt = .0025)
str(pdfs(a_model))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.