Description Usage Arguments Value

Methods defined for objects returned from the `ab_test`

function.

1 2 3 4 5 6 7 8 9 10 11 |

`object, x` |
object of class |

`digits` |
number of digits to print for the summary. |

`raw` |
if |

`...` |
further arguments, currently ignored. |

The `print`

methods prints the Bayes factors, prior
probabilities of the hypotheses, and posterior probabilities of the
hypotheses (and returns nothing).

The `plot`

method visualizes the prior probabilities of the hypotheses
and posterior probabilities of the hypotheses (the next plots is obtained
by hitting Return) using the `prob_wheel`

function.

The `summary`

methods returns the `ab`

object that is guaranteed
to contain posterior samples (i.e., it adds posterior samples if they were
not included already). Additionally, it adds to the object a posterior
summary matrix (i.e., `ab$post$post_summary`

) for the posterior under
H1 and the arguments `digits`

(used for printing) and `raw`

(added to `ab$input`

).

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.