Description Usage Arguments Details Value Author(s)

Create a prior odds object from a Bayes factor object

1 | ```
newPriorOdds(bf, type = "equal")
``` |

`bf` |
A BFBayesFactor object, eg, from an analysis |

`type` |
The type of prior odds to create (by default "equal"; see details) |

This function takes a Bayes factor object and, using its structure and specified type of prior odds, will create a prior odds object.

For now, the only type is "equal", which assigns equal prior odds to all models.

A (prior) BFodds object, which can then be multiplied by the BFBayesFactor object to obtain posterior odds.

Richard D. Morey (richarddmorey@gmail.com)

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.