| results_predictions | R Documentation |
This function takes the draws result from a model and produces a prediction table with confidence intervals and P-values based on structured predictions.
results_predictions(
object,
pr,
obj.draws,
method = c("observed values", "mean"),
draws = 1000,
times = NULL,
m = NULL,
response = T
)
object |
The model object. |
pr |
The structured predictions. A return from 'structure_predictions'. |
obj.draws |
The draws produced from the model. A return from 'get_draws'. |
method |
A string indicating how variables not in 'predictions' should be treated. There are two options; "observed values" and "mean." |
times |
An optional vector identifying the times to produce coefficients for. Only relevant for survival models. |
m |
The model to get results for. Only relevated for a multivariate Bayesian model (a model with multiple dependent variables). |
The predictions table.
Other internal functions:
get_coef(),
get_data(),
get_draws(),
get_formula(),
get_link(),
get_vcov(),
results_coefficients(),
results_contrasts(),
structure_predictions()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.