results_contrasts | R Documentation |
This function takes the draws result from a model and produces a contrast table with confidence intervals and P-values based on structured predictions. Contrasts are comparisons between predictions.
results_contrasts(pr, predict.df)
pr |
The structured predictions. A return from 'structure_predictions'. |
predict.df |
The predictions produced from the model. A return from 'results_predictions'. |
Supports a two-way and a four-way comparison. A two-way comparison compares two different predictions while a four-way comparison compares the difference between two two-way comparisons. For instance, identifying a treatment effect is a two-way comparison (high vs. low value). Comparing the treatment effect in two different situations is a four way comparison (high vs. low in situation one compared to high vs. low in situation two).
The contrasts table.
Other internal functions:
get_coef()
,
get_data()
,
get_draws()
,
get_formula()
,
get_link()
,
get_vcov()
,
results_coefficients()
,
results_predictions()
,
structure_predictions()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.