quantile.ebnm | R Documentation |
The quantile
method for class ebnm
.
Quantiles for posterior distributions \theta_i \mid x_i, s_i, g
are
estimated via sampling. By default, ebnm
does not return a
posterior sampler; one can be added to the ebnm
object using
function ebnm_add_sampler
.
## S3 method for class 'ebnm'
quantile(
x,
probs = seq(0, 1, 0.25),
names = TRUE,
type = 7,
digits = 7,
nsim = 1000,
...
)
x |
The fitted |
probs |
numeric vector of probabilities with values in
|
names |
logical; if true, the result has a |
type |
An integer between 1 and 9 selecting one of the nine quantile
algorithms detailed in |
digits |
used only when |
nsim |
The number of samples to use to estimate quantiles. |
... |
Additional arguments to be passed to the posterior sampler
function. Since |
A matrix with columns giving quantiles for each posterior
\theta_i \mid x_i, s_i, g
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.