brmshypothesis | R Documentation |
brmshypothesis
ObjectsA brmshypothesis
object contains posterior draws
as well as summary statistics of non-linear hypotheses as
returned by hypothesis
.
## S3 method for class 'brmshypothesis'
print(x, digits = 2, chars = 20, ...)
## S3 method for class 'brmshypothesis'
plot(
x,
nvariables = 5,
N = NULL,
ignore_prior = FALSE,
chars = 40,
colors = NULL,
theme = NULL,
ask = TRUE,
plot = TRUE,
...
)
x |
An object of class |
digits |
Minimal number of significant digits,
see |
chars |
Maximum number of characters of each hypothesis
to print or plot. If |
... |
Currently ignored. |
nvariables |
The number of variables (parameters) plotted per page. |
N |
Deprecated alias of |
ignore_prior |
A flag indicating if prior distributions should also be plotted. Only used if priors were specified on the relevant parameters. |
colors |
Two values specifying the colors of the posterior
and prior density respectively. If |
theme |
A |
ask |
Logical; indicates if the user is prompted
before a new page is plotted.
Only used if |
plot |
Logical; indicates if plots should be
plotted directly in the active graphic device.
Defaults to |
The two most important elements of a brmshypothesis
object are
hypothesis
, which is a data.frame containing the summary estimates
of the hypotheses, and samples
, which is a data.frame containing
the corresponding posterior draws.
hypothesis
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.