Description Usage Arguments Value Examples

Function to compare two or more posterior distributions and test a hypothesis, in a Bayesian context

1 | ```
pairwiseComparisons(df, test = "<=", print = FALSE)
``` |

`df` |
data frame with a collection of numerical values (posterior samples) to be compared. |

`test` |
string with the logical test to be used in comparisons. Can be <, <=, > or >=. |

`print` |
logical value to indicate whether the output should be printed or not. |

a symmetrical matrix with probabilities given sum(dist1 >= dist2) / length(dist1) for each comparison.

1 2 3 4 |

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.