plot.XDNUTS {XDNUTS} | R Documentation |
Function to view the draws from the posterior distribution.
Description
Function to view the draws from the posterior distribution.
Usage
## S3 method for class 'XDNUTS'
plot(
x,
type = 1,
which = NULL,
warm_up = FALSE,
plot.new = FALSE,
which_chains = NULL,
colors = NULL,
gg = TRUE,
scale = 1,
...
)
Arguments
x |
an object of class |
type |
the type of plot to display.
|
which |
either a numerical vector indicating the index of the parameters of interest or a string
where both |
warm_up |
a boolean value indicating whether the plot should be made using the warm-up samples. |
plot.new |
a boolean value indicating whether a new graphical window should be opened. This is advised if the parameters space is big. |
which_chains |
a numerical vector indicating the index of the chains of interest. |
colors |
a numerical vector containing the colors for each chain specified in |
gg |
A boolean value indicating whether the plot should utilize the grammar of graphics features.
Default value is set to |
scale |
A numeric value for scaling the appearance of plots. |
... |
additional arguments to customize plots. In reality, these do nothing. |
Value
A graphical object if gg = TRUE
, otherwise nothing is returned.