Produces the traceplots and the density plots of the model parameters.
Usage
# S3 method for dynamitefit
plot(x, parameters = NULL, type = NULL, responses = NULL, ...)
Arguments
- x
[
dynamitefit
]
The model fit object.- parameters
[
charecter()
]\ Parameter name(s) for which the plots should be drawn. Possible options can be found with the functionget_parameter_names()
. The default is all parameters of a specific type for all responses, which can lead to too crowded a plot.- type
[
character(1)
]
Type of the parameter for which the plots should be drawn. Possible options can be found with the functionget_parameter_types()
. Ignored if the argumentparameters
is supplied.- responses
[
character()
]
Response(s) for which the plots should be drawn. Possible options areunique(x$priors$response)
. Default is all responses. Ignored if the argumentparameters
is supplied.- ...
Not used..
See also
Drawing plots
plot.dynamiteformula()
,
plot_betas()
,
plot_deltas()
,
plot_lambdas()
,
plot_nus()
,
plot_psis()
Examples
data.table::setDTthreads(1) # For CRAN
plot(gaussian_example_fit, type = "beta")