pdfs {dRiftDM} | R Documentation |
Access the Probability Density Functions of a Model
Description
Functions to obtain the probability density functions (PDFs) of a model. These PDFs represent the first-passage-time.
Usage
pdfs(object, ...)
## S3 method for class 'drift_dm'
pdfs(object, ...)
Arguments
object |
an object of type drift_dm. |
... |
additional arguments passed down to the specific method. |
Details
If the model has not been evaluated, re_evaluate_model()
is
called before returning the PDFs.
Value
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.
See Also
drift_dm()
, re_evaluate_model()
,
conds()
Examples
# get a pre-built model for demonstration purpose
a_model <- dmc_dm(dx = .0025, dt = .0025)
str(pdfs(a_model))
[Package dRiftDM version 0.2.2 Index]