Description Usage Arguments Details Value Examples

The posterior distributions created by `perf_mod()`

can
be used to obtain the posterior distribution of the difference(s)
between models. One or more comparisons can be computed at
the same time.

1 2 | ```
contrast_models(x, list_1 = NULL, list_2 = NULL,
seed = sample.int(10000, 1))
``` |

`x` |
An object produced by |

`list_1, list_2` |
Character vectors of equal length that
specify the specific pairwise contrasts. The contrast is
parameterized as |

`seed` |
A single integer for sampling from the posterior. |

If a transformation was used when `x`

was created, the
inverse is applied *before* the difference is computed.

A data frame of the posterior distribution(s) of the
difference(s). The object has an extra class of
`"posterior_diff"`

.

1 2 3 4 5 6 7 8 9 | ```
# Example objects from the "Getting Started" vignette at
# https://topepo.github.io/tidyposterior/articles/Getting_Started.html
# File for pre-run model is at
ex_dat <- "https://bit.ly/2S1v6H9"
# load(load(url(ex_dat))
# head(glm_v_nnet)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.